This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Question Editor API

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
Was this article helpful?