Trigger

Drupal.states. Trigger

new Trigger(args)

Source:
Parameters:
Name Type Description
args object Trigger arguments.

Members

(static) states

Source:
Properties:
Name Type Description
empty
checked
value
collapsed
This list of states contains functions that are used to monitor the state of an element. Whenever an element depends on the state of another element, one of these trigger functions is added to the dependee so that the dependent element can be updated.

Methods

defaultTrigger(event, valueFn)

Source:
Parameters:
Name Type Description
event jQuery.Event The event triggered.
valueFn function The function to call.

initialize()

Source: