Type aliases
EventHandler
EventHandler: function
Functions
on
- on(eventType: "builder.beforesave", handler: function): void
- on(eventType: "contextmenu.show", handler: function): void
- on(eventType: "languages.update", handler: function): void
- on(eventType: "modes.change" | "modes.change.after", handler: function): void
- on(eventType: "modes.enabled.change" | "modes.usable.change", handler: function): void
- on(eventType: "modes.autolayout.changed", handler: function): void
- on(eventType: "modes.visible.changed", handler: function): void
- on(eventType: "blocks.resize", handler: function): void
- on(eventType: "builder.init", handler: function): void
- on(eventType: "page.load", handler: function): void
- on(eventType: "pages.changed", handler: function): void
- on(eventType: "modal.show" | "modal.hide" | "guides.show" | "guides.hide" | "help.show" | "help.hide" | "help.playershow" | "help.playerhide" | "templates.show" | "templates.hide" | "preview.show" | "preview.hide" | "drawer.show" | "drawer.hide", handler: function): void
- on(eventType: "store.categories.changed", handler: function): void
- on(eventType: "media.meta.changed", handler: function): void
- on(eventType: "fonts.changed", handler: function): void
- on(eventType: "history.changed", handler: function): void
- on(eventType: "landing.changed", handler: function): void
- on(eventType: "notification.changed", handler: function): void
- on(eventType: "preview.size.changed", handler: function): void
- on(eventType: string, handler: function): void
-
Parameters
-
eventType: "builder.beforesave"
-
handler: function
Returns void
-
Parameters
-
eventType: "contextmenu.show"
-
handler: function
Returns void
-
Parameters
-
eventType: "languages.update"
-
handler: function
Returns void
-
Parameters
-
eventType: "modes.change" | "modes.change.after"
-
handler: function
Returns void
-
Parameters
-
eventType: "modes.enabled.change" | "modes.usable.change"
-
handler: function
Returns void
-
Parameters
-
eventType: "modes.autolayout.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "modes.visible.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "blocks.resize"
-
handler: function
Returns void
-
Parameters
-
eventType: "builder.init"
-
handler: function
Returns void
-
Parameters
-
eventType: "page.load"
-
handler: function
Returns void
-
Parameters
-
eventType: "pages.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "modal.show" | "modal.hide" | "guides.show" | "guides.hide" | "help.show" | "help.hide" | "help.playershow" | "help.playerhide" | "templates.show" | "templates.hide" | "preview.show" | "preview.hide" | "drawer.show" | "drawer.hide"
-
handler: function
Returns void
-
Parameters
-
eventType: "store.categories.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "media.meta.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "fonts.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "history.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "landing.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "notification.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: "preview.size.changed"
-
handler: function
Returns void
-
Parameters
-
eventType: string
-
handler: function
Returns void