summaryrefslogtreecommitdiffstatshomepage
path: root/core/misc/announce.js
diff options
context:
space:
mode:
authorNathaniel Catchpole <catch@35733.no-reply.drupal.org>2016-02-22 10:51:47 +0900
committerNathaniel Catchpole <catch@35733.no-reply.drupal.org>2016-02-22 10:51:47 +0900
commitf33c6be7b50ec987bf8b4aa6b716f07c4a53c9f0 (patch)
tree446d49cc1e2f0cb0bb8421b83f71789597a5d5c8 /core/misc/announce.js
parente08394a6fd75158fb170acb3c9532c31dc539c7a (diff)
downloaddrupal-f33c6be7b50ec987bf8b4aa6b716f07c4a53c9f0.tar.gz
drupal-f33c6be7b50ec987bf8b4aa6b716f07c4a53c9f0.zip
Issue #2559697 by theMusician, eiriksm, AjitS, dimaro: JSDoc misc/
Diffstat (limited to 'core/misc/announce.js')
-rw-r--r--core/misc/announce.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/misc/announce.js b/core/misc/announce.js
index 235c597ecc3..acf850a6414 100644
--- a/core/misc/announce.js
+++ b/core/misc/announce.js
@@ -29,6 +29,9 @@
* Builds a div element with the aria-live attribute and add it to the DOM.
*
* @type {Drupal~behavior}
+ *
+ * @prop {Drupal~behaviorAttach} attach
+ * Attaches the behavior for drupalAnnouce.
*/
Drupal.behaviors.drupalAnnounce = {
attach: function (context) {
@@ -98,6 +101,7 @@
* 'polite' or 'assertive'.
*
* @return {function}
+ * The return of the call to debounce.
*
* @see http://www.w3.org/WAI/PF/aria-practices/#liveprops
*/