blockly > Ereignisse > CommentDrag > (Konstruktor)

Events.CommentDrag.(constructor)

Erstellt eine neue Instanz der Klasse CommentDrag.

Unterschrift:

constructor(opt_comment?: WorkspaceComment, opt_isStart?: boolean);

Parameter

Parameter Typ Beschreibung
opt_comment WorkspaceComment Optional: Der Kommentar, der verschoben wird. Für ein leeres Ereignis nicht definiert.
opt_isStart boolean Optional: Gibt an, ob dies der Beginn des Ziehens eines Kommentars ist. Für ein leeres Ereignis nicht definiert.