Opens or closes the Openable widget setup for the given element.


To use with auto-widgets (HTML API) as part of a trigger specification:

  • Action name: "open".
  • Accepted string arguments: none
  • Accepted options: none
<div class="lisn-modal" data-lisn-on-view="@open +reference=top:50%"></div>

Implements

Methods

Constructors

Properties

Methods

Constructors

Properties

do: () => Promise<void>

Opens the Openable widget setup for the element.

toggle: () => Promise<void>

Toggles the Openable widget setup for the element.

undo: () => Promise<void>

Closes the Openable widget setup for the element.