blockly > Événements > CommentDrag > (constructeur)
Events.CommentDrag.(constructor)
Construit une instance de la classe CommentDrag.
Signature :
constructor(opt_comment?: WorkspaceComment, opt_isStart?: boolean);
Paramètres
| Paramètre | Type | Description |
|---|---|---|
| opt_comment | WorkspaceComment | (Facultatif) Commentaire que vous faites glisser. Indéfini pour un événement vide. |
| opt_isStart | booléen | (Facultatif) Indique si le début d'un glisser-déposer de commentaire. Indéfini pour un événement vide. |