Question Editor API Events
widget:ready
Triggered when the editor panel has finished rendering and can be interacted
with. Can occur after setWidget()
is called or the author chooses
a widget from the tile view.
Note if you pass widget_json
via init options, then this event will also be fired, but it will happen before
readyListener
, as the latter is fired only when everything passed
through init options has finished initialising.
Callback arguments
-
WidgetReadyEvent object
An object that contains:
- wrapper: A jQuery wrapper for the editor panel DOM element
- template: string
- type: string
- layoutDelegate: object