new Drupal.states.Trigger(args)
Name | Type | Description |
---|---|---|
args |
object |
Trigger arguments. |
Members
-
staticDrupal.states.Trigger.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
Methods
-
defaultTrigger(event, valueFn)
-
Name Type Description event
jQuery.Event The event triggered.
valueFn
function The function to call.
-
initialize()
-