Attaches behaviors for Drupal's active link marking.
- Source:
Attaches behaviors for Drupal's active link marking.
Provides Ajax page updating via jQuery $.ajax.
Ajax is a method of making a request via JavaScript while viewing an HTML page. The request returns an array of commands encoded in JSON, which is then executed to make any changes that are necessary to the page.
Drupal uses this file to enhance form elements with #ajax['url']
and
#ajax['wrapper']
properties. If set, this file will automatically be
included to provide Ajax capabilities.
Adds an HTML element and method to trigger audio UAs to read system messages.
Use Drupal.announce
to indicate to screen reader users that an
element on the page has changed state. For instance, if clicking a link
loads 10 more items into a list, one might announce the change like this.
$('#search-list')
.on('itemInsert', function (event, data) {
// Insert the new items.
$(data.container.el).append(data.items.el);
// Announce the change to the page contents.
Drupal.announce(Drupal.t('@count items added to @container',
{'@count': data.items.length, '@container': data.container.title}
));
});
Autocomplete based on jQuery UI.
Drupal's batch API.
Defines checkbox theme functions.
Polyfill for HTML5 details elements.
Polyfill for HTML5 date input.
Adapted from underscore.js with the addition Drupal namespace.
Add aria attribute handling for details and summary elements.
Adds a summary of a details element's contents to its summary element.
Extends the Drupal AJAX functionality to integrate the dialog API.
Dialog API inspired by HTML5 dialog element.
Adds default classes to buttons for styling purposes.
Positioning extensions for dialogs.
Drupal's off-canvas library.
Manages elements that can offset the size of the viewport.
Measures and reports viewport offset dimensions from elements like the toolbar that can potentially displace the positioning of other elements.
Dropbutton feature.
Defines the Drupal JavaScript API.
Parse inline JSON and initialize the drupalSettings global object.
Defines JavaScript behaviors for the block_content module.
Form features.
Defines a backwards-compatible shim for jquery.cookie.
Machine name functionality.
Message API.
Provides additional Modernizr tests.
Provides a polyfill for Array.find().
This is needed for Internet Explorer 11 and Opera Mini.
This has been copied from MDN Web Docs code samples. Code samples in the MDN Web Docs are licensed under CC0.
Provides a polyfill for NodeList.forEach().
This is needed for Internet Explorer 11 and Opera Mini.
This has been copied from MDN Web Docs code samples. Code samples in the MDN Web Docs are licensed under CC0.
Provides a polyfill for Object.assign().
This is needed for Internet Explorer 11 and Opera Mini.
This has been copied from MDN Web Docs code samples. Code samples in the MDN Web Docs are licensed under CC0.
Progress bar.
Drupal's states library.
Manages page tabbing modifications made by modules.
Provide dragging capabilities to admin uis.
Sticky table headers.
Responsive table functionality.
Table select functionality.
Timezone detection.
Define vertical tabs functionality.
Renders BigPipe placeholders using Drupal's Ajax system.
Block admin behaviors.
Block behaviors.
JavaScript behaviors for the Book module.
CKEditor button and group configuration user interface.
CKEditor 'drupalimage' plugin admin behavior.
CKEditor implementation of Drupal.editors
API.
Provides styles for CKEditor inside off-canvas dialogs.
CKEditor StylesCombo admin behavior.
A Backbone Model for the state of a CKEditor toolbar configuration .
A Backbone View that provides the aural view of CKEditor toolbar configuration.
A Backbone View acting as a controller for CKEditor toolbar configuration.
Backbone View providing the aural view of CKEditor keyboard UX configuration.
A Backbone View that provides the visual UX view of CKEditor toolbar configuration.
Contains client-side code for testing CSS delivered to CKEditor via AJAX.
Attaches the behaviors for the Color module.
Attaches preview-related behavior for the Color module.
Adds javascript functions for font resizing.
Attaches comment behaviors to the entity form.
Attaches behaviors for the Comment module's "by-viewer" class.
Attaches behaviors for the Comment module's "new" indicator.
May only be loaded for authenticated users, with the History module installed.
Attaches behaviors for the Comment module's "X new comments" link.
May only be loaded for authenticated users, with the History module installed.
Content Translation admin behaviors.
Attaches behaviors for the Contextual module.
Attaches behaviors for the Contextual module's edit toolbar tab.
A Backbone Model for the state of a contextual link's trigger, list & region.
A Backbone Model for the state of Contextual module's edit toolbar tab.
A Backbone View that provides the aural view of the edit mode toggle.
A Backbone View that provides the visual view of the edit mode toggle.
A Backbone View that provides the aural view of a contextual link.
A Backbone View that provides keyboard interaction for a contextual link.
A Backbone View that renders the visual view of a contextual region element.
A Backbone View that provides the visual view of a contextual link.
Provides a JavaScript API to broadcast text editor configuration changes.
Filter implementations may listen to the drupalEditorFeatureAdded, drupalEditorFeatureRemoved, and drupalEditorFeatureRemoved events on document to automatically adjust their settings based on the editor configuration.
AJAX commands used by Editor module.
Attaches behavior for the Editor module.
Text editor-based in-place editor for formatted text content in Drupal.
Depends on editor.module. Works with any (WYSIWYG) editor that implements the editor.js API, including the optional attachInlineEditor() and onChange() methods. For example, assuming that a hypothetical editor's name was "Magical Editor" and its editor.js API implementation lived at Drupal.editors.magical, this JavaScript would use:
Attaches the behaviors for the Field UI module.
Provides JavaScript additions to the managed file field type.
This file provides progress bar support (if available), popup windows for file previews, and disabling of other file fields during Ajax uploads (which prevents separate file fields from accidentally uploading files).
Attaches administration-specific behavior for the Filter module.
Attaches behavior for the Filter module.
Attaches behavior for updating filter_html's settings automatically.
JavaScript API for the History module, with client-side caching.
May only be loaded for authenticated users, with the History module enabled.
Marks the nodes listed in drupalSettings.history.nodesToMarkAsRead as read.
Uses the History module JavaScript API.
Drag+drop based in-place editor for images.
Provides theme functions for image Quick Edit's client-side HTML.
Language admin behavior.
Attaches the behaviors for the Layout Builder module.
Locale admin behavior.
Locale behavior.
Defines JavaScript behaviors for the media form.
Theme elements for the Media Embed CKEditor plugin.
Drupal Media embed plugin.
Defines JavaScript behaviors for the media type form.
media_library.click_to_select.es6.js
media_library.ui.es6.js
media_library.view.es6.js
media_library.widget.es6.js
Drupal Media Library plugin.
Menu UI admin behaviors.
Menu UI behaviors.
JavaScript for the node content editing form.
Defines JavaScript behaviors for the node module.
Preview behaviors.
Attaches behaviors for the Path module.
Form-based in-place editor. Works for any field type.
ContentEditable-based in-place editor for plain text content.
A Backbone Model for the state of the in-place editing application.
A Backbone Model subclass that enforces validation when calling set().
A Backbone Model for the state of an in-place editor.
A Backbone Model for the state of an in-place editable entity in the DOM.
A Backbone Model for the state of an in-place editable field in the DOM.
Attaches behavior for the Quick Edit module.
Everything happens asynchronously, to allow for:
To achieve this, there are several queues:
Provides theme functions for all of Quick Edit's client-side HTML.
Provides utility functions for Quick Edit.
A Backbone View that controls the overall "in-place editing application".
A Backbone View that provides a dynamic contextual link.
An abstract Backbone View that controls an in-place editor.
A Backbone view that decorates the in-place editable entity.
A Backbone View that provides an entity level toolbar.
A Backbone View that decorates the in-place edited element.
A Backbone View that provides an interactive toolbar (1 per in-place editor).
Drupal's Settings Tray library.
Statistics functionality.
Provides date format preview feature.
System behaviors.
Module page behaviors.
Drupal behavior to attach click event handlers to ajax-insert and ajax-insert-inline links for testing ajax requests.
Testing behavior for JSWebAssertTest.
Tests adding and removing browser cookies using the jquery_cookie shim.
Testing tools for deprecating JavaScript functions and class properties.
Testing tools for deprecating JavaScript functions and class properties.
Testing behavior for JSMessageTest.
Testing behavior for JSWebAssertTest.
Testing behavior for JSWebAssertTest.
Testing behavior for JSWebAssertTest.
Testing behaviors for tabledrag library.
Test JS asset file for test_theme.theme.
Taxonomy behaviors.
Text behaviors.
Replaces the home link in toolbar with a back to site link.
A Backbone Model for collapsible menus.
A Backbone Model for the toolbar.
Defines the behavior of the Drupal administration toolbar.
Builds a nested accordion widget.
Invoke on an HTML list element with the jQuery plugin pattern.
$('.toolbar-menu').drupalToolbarMenu();
A Backbone view for the body element.
A Backbone view for the collapsible menus.
A Backbone view for the aural feedback of the toolbar.
A Backbone view for the toolbar element. Listens to mouse & touch.
Attaches behaviors for the Tour module's toolbar tab.
Overrides password theme functions for testing.
User behaviors.
User permission page behaviors.
Theme elements for user password forms.
Handles AJAX fetching of views, including filter submission and response.
Some basic behaviors and utility functions for Views.
Handles AJAX submission and response in Views UI.
Views dialog behaviors.
Some basic behaviors and utility functions for Views UI.
Views listing behaviors.
Preview for the Bartik theme.
Classy theme overrides for the Media Embed CKEditor plugin.
Ajax theme overrides for Claro.
Claro's enhancement for autocomplete form element.
Theme override for checkbox.
Classy theme overrides for the Media Embed CKEditor plugin.
Claro's polyfill enhancements for HTML5 details.
Theme overrides for Claro.
Media Library overrides for Claro
Message template overrides.
Responsive navigation tabs.
This also supports collapsible navigable is the 'is-collapsible' class is added to the main element, and a target element is included.
Provides responsive behaviors to HTML details elements.
Overrides tabledrag.js that provides dragging capabilities.
The '_slicedToArray' shim added for handling destructured arrays breaks IE11, that is why the 'prefer-destructuring' rule is disabled.
Password confirm widget template overrides.
Defines vertical tabs functionality.
This file replaces core/misc/vertical-tabs.js to fix some bugs in the original implementation, as well as makes minor changes to enable Claro designs:
Classy theme overrides for the Media Embed CKEditor plugin.
Theme override for checkbox.
Comments.
Messages.
Classy theme overrides for the Media Embed CKEditor plugin.
Responsive navigation tabs.
This also supports collapsible navigable is the 'is-collapsible' class is added to the main element, and a target element is included.
Provides responsive behaviors to HTML details elements.
Stable theme overrides for user password forms.
Provides backwards compatibility layer for Ajax-related markup.
Stable theme overrides for user password forms.