ajax_test.libraries.yml
File
- 
              core/modules/ system/ tests/ modules/ ajax_test/ ajax_test.libraries.yml 
View source
- ajax_insert:
-   js:
-     js/insert-ajax.js: {}
-   dependencies:
-     - core/drupal.ajax
- order:
-   drupalSettings:
-     ajax: test
-   dependencies:
-     - ajax_test/order-css-command
-     - ajax_test/order-footer-js-command
-     - ajax_test/order-header-js-command
- 
- order-css-command:
-   css:
-     theme:
-       # Two CSS files (order should remain the same).
-       a.css: {}
-       b.css: {}
- 
- order-footer-js-command:
-   js:
-     footer.js: {}
- 
- order-header-js-command:
-   header: true
-   js:
-     header.js: {}
- 
- focus.first:
-   js:
-     js/focus-ajax.js: {}
-   dependencies:
-     - core/drupal
-     - core/once
- 
- command_promise:
-   version: VERSION
-   js:
-     js/command_promise-ajax.js: {}
-   dependencies:
-     - core/jquery
-     - core/drupal
-     - core/drupal.ajax
-     - core/es6-promise
- 
- global_events:
-   js:
-     js/global_events.js: {}
-   dependencies:
-     - core/drupal.ajax
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
