Global

Members

drupalSettings :object

Source:
Variable generated by Drupal with all the configuration created from PHP.
Type:
  • object

drupalTranslations :object

Source:
Variable generated by Drupal that holds all translated strings from PHP. Content of this variable is automatically created by Drupal when using the Interface Translation module. It holds the translation of strings used on the page. This variable is used to pass data from the backend to the frontend. Data contained in `drupalSettings` is used during behavior initialization.
Type:
  • object

Type Definitions

jQuery

Source:
Properties:
Name Type Default Description
length number 0 Number of elements contained in the jQuery object.
A jQuery object, typically the return value from a `$(selector)` call. Holds an HTMLElement or a collection of HTMLElements.
Type:
  • object

timeDiff

Source:
Properties:
Name Type Description
formatted string A translated string representation of the interval.
value timeDiffValue The elements composing the time difference interval. Example: { day: 2, hour: 2, minute: 32, second: 15 }.
Type:
  • object

timeDiffValue

Source:
Properties:
Name Type Attributes Description
year number <optional>
Years count.
month number <optional>
Months count.
week number <optional>
Weeks count.
day number <optional>
Days count.
hour number <optional>
Hours count.
minute number <optional>
Minutes count.
second number <optional>
Seconds count.
Type:
  • object

Events

columnschange

Source:
Triggers when weights columns are toggled.
Listeners of This Event:

drupalTabbingConstrained

Source:
Allow modules to respond to the constrain event.

drupalTabbingContextActivated

Source:
Allow modules to respond to the constrain event.

drupalTabbingContextDeactivated

Source:
Allow modules to respond to the constrain event.

drupalTabbingContextReleased

Source:
Allow modules to respond to the tabbingContext release event.

drupalViewportOffsetChange

Source:
Triggers when layout of the page changes. This is used to position fixed element on the page during page resize and Toolbar toggling.

formFragmentLinkClickOrHashChange

Source:
Triggers when a click on a page fragment link or hash change is detected. The event triggers when the fragment in the URL changes (a hash change) and when a link containing a fragment identifier is clicked. In case the hash changes due to a click this event will only be triggered once.

formUpdated

Source:
Triggers when a value in the form changed. The event triggers when content is typed or pasted in a text field, before the change event triggers.
Listeners of This Event:

summaryUpdated

Source:
Triggers when form values inside a vertical tab changes. This is used to update the summary in vertical tabs in order to know what are the important fields' values.
Listeners of This Event: