Options
All
  • Public
  • Public/Protected
  • All
Menu

Module GlobalEvents

Index

Type aliases

Functions

Type aliases

EventHandler

EventHandler: function

Type declaration

Functions

off

  • Parameters

    Returns void

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

triggerEvent

  • triggerEvent(eventType: string, event: BuilderEvent): void
  • Parameters

    Returns void