Class: Trigger

Drupal.states.Trigger(args)

new Trigger(args)

Parameters:
Name Type Description
args object

Trigger arguments.

Source:

Members

(static) states

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.

Properties:
Name Type Description
empty
checked
value
collapsed
Source:

Methods

defaultTrigger(event, valueFn)

Parameters:
Name Type Description
event jQuery.Event

The event triggered.

valueFn function

The function to call.

Source:

initialize()

Source: