]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: update namespace for DropdownMenu events 11525/head
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 7 Oct 2018 20:45:58 +0000 (22:45 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 7 Oct 2018 20:45:58 +0000 (22:45 +0200)
Since https://github.com/zurb/foundation-sites/pull/10965, DrodpdownMenu events are in CamelCase.

js/foundation.dropdownMenu.js

index 6bec5b369cf5f658c668f7edc0e9602dcbd9a11a..ef2875be8278f39466156cbf1a64d408aaf09bd9 100644 (file)
@@ -320,7 +320,7 @@ class DropdownMenu extends Plugin {
     if (this.options.closeOnClick) { this._addBodyHandler(); }
     /**
      * Fires when the new dropdown pane is visible.
-     * @event Dropdownmenu#show
+     * @event DropdownMenu#show
      */
     this.$element.trigger('show.zf.dropdownMenu', [$sub]);
   }
@@ -368,7 +368,7 @@ class DropdownMenu extends Plugin {
 
       /**
        * Fires when the open menus are closed.
-       * @event Dropdownmenu#hide
+       * @event DropdownMenu#hide
        */
       this.$element.trigger('hide.zf.dropdownMenu', [$toClose]);
     }