blockly > Commentaires > WorkspaceComment > (constructeur)
comments.WorkspaceComment.(constructor)
Construit le commentaire.
Signature :
constructor(workspace: Workspace, id?: string);
Paramètres
Paramètres | Type | Description |
---|---|---|
espace de travail | Workspace | Espace de travail dans lequel construire le commentaire. |
id | chaîne | (Facultatif) Identifiant facultatif à attribuer au commentaire. S'il n'est pas fourni, un champ sera généré. |