events
Meta Data
| filepath_exists | True |
| path | events |
| filepath | events.js |
| clean_files | () |
-
ClassDeclarationclass
Events
extends Noneclass comments:VariableDeclarationFunctionDeclarationEmptyStatement; (empty statement)ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])ClassDeclarationclassStageEvents
extends Noneclass comments:StageEvents apply `.events` to the stage. If `autoListen=true` (default). any method matching `on[EventName]` is hooked. class MyStage extends Stage { autoListen = true onClick(ev){ // raw ev event } } Standard `on` and `emit` (listen/dispatch) for events: stage.on('eventName', stage.handle)VariableDeclarationExpressionStatement:
dict_keys(['type', 'expression', 'pos'])ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])