The trigger is a generic interactive element, which matches the ID specified in the aria-controls atribute. For example, from an AUI button to an AUI Inline Dialog.


Associate a button that acts as the inline dialog's trigger (aui-trigger attribute) to the inline dialog (aui-inline-dialog) by setting the trigger's aria-controls attribute to the id of the inline dialog.

To receive messages from an aui trigger add a message function. The trigger will respond to the following events:

  • click
  • mouseenter
  • mouseleave
  • focus
  • leave

API reference


Function Arguments Description Example Usage
disable Disables the trigger.
enabled Enables the trigger.
isEnabled Checks whether the trigger is enabled.