Skip to main content

Home > blockly > Events > TrashcanOpen

Events.TrashcanOpen class

Notifies listeners when the trashcan is opening or closing.

Signature:

export declare class TrashcanOpen extends UiBase 

Extends: UiBase

Constructors

ConstructorModifiersDescription
(constructor)(opt_isOpen, opt_workspaceId)Constructs a new instance of the TrashcanOpen class

Properties

PropertyModifiersTypeDescription
isOpen?boolean(Optional) True if the trashcan is currently opening (previously closed). False if it is currently closing (previously open).
typeEventType

Methods

MethodModifiersDescription
toJson()Encode the event as JSON.