Show:

Widget extension, which can be used to add trigger support to the base Widget class, through the Base.build method.

Methods

_afterRenderUIWT

(
  • event
)
protected

Fire after renderUI.

Parameters:

  • event Object

_afterTriggerChange

(
  • event
)
protected

Fire after trigger changes.

Parameters:

  • event Object

_uiSetTrigger

(
  • val
)
protected

Set the trigger UI.

Parameters:

  • val Object

destructor

() protected

Destructor lifecycle implementation for the WidgetTrigger class.

initializer

()

Construction logic executed during WidgetTrigger instantiation. Lifecycle.

Properties

ATTRS

Object static

Static property used to define the default attribute configuration.

Attributes

bindDOMEvents

Boolean

Determine if the Toggler should bind DOM events or not.

Default: true

trigger

Trigger node to change widget visibility state.

triggerHideEvent

String

DOM event to hide the tooltip.

triggerShowEvent

String

DOM event to show the tooltip.

triggerToggleEvent

String

DOM event to toggle the tooltip.