blockly > Ereignisse > CommentCollapse

Klasse „Events.CommentCollapse“

Unterschrift:

export declare class CommentCollapse extends CommentBase 

Erweitert:CommentBase

Konstruktoren

Konstruktor Modifikatoren Beschreibung
(constructor)(comment, newCollapsed) Erstellt eine neue Instanz der Klasse CommentCollapse.

Attribute

Attribut Modifikatoren Typ Beschreibung
newCollapsed? boolean | undefined (Optional)
type EventType

Methoden

Methode Modifikatoren Beschreibung
run(forward) Führen Sie ein Minimieren-Ereignis aus.
toJson() Codieren Sie das Ereignis als JSON.