packages/ag-grid-docs/src/dist/aui/js/aui.js
// creates the trigger and content elements for the show more dropdown
creates the trigger and content elements for the show more dropdown
creates the trigger and content elements for the show more dropdown
function createResponsiveDropdownTrigger() {
          var moreNavItemEl = document.createElement('li');
          var dropdownEl = document.createElement('aui-dropdown-menu');
          dropdownEl.id = 'aui-responsive-header-dropdown-' + this.index;
          _skate2.default.init(dropdownEl);
          var dropdownSectionEl = document.createElement('aui-section');
          dropdownSectionEl.id = 'aui-responsive-header-dropdown-list-' + this.index;
          _skate2.default.init(dropdownSectionEl);
          _skatejsTemplateHtml2.default.wrap(dropdownEl).appendChild(dropdownSectionEl);
          var triggerEl = createTriggerAndAssociate(dropdownEl);
          moreNavItemEl.appendChild(triggerEl);
          moreNavItemEl.appendChild(dropdownEl);
          if (this.primaryButtonsWidth === 0) {
              this.$headerFind('.aui-nav').append(moreNavItemEl);
          } else {
              this.$headerFind('.aui-nav > li > .aui-button:first').parent().before(moreNavItemEl);
          }
          this.moreMenuWidth = (0, _jquery2.default)(moreNavItemEl).outerWidth(true);
          return (0, _jquery2.default)(moreNavItemEl);
      }
function createResponsiveDropdownTrigger ( ) { var moreNavItemEl = document . createElement ( 'li' ) ; var dropdownEl = document . createElement ( 'aui-dropdown-menu' ) ; dropdownEl . id = 'aui-responsive-header-dropdown-' + this . index ; _skate2 . default . init ( dropdownEl ) ; var dropdownSectionEl = document . createElement ( 'aui-section' ) ; dropdownSectionEl . id = 'aui-responsive-header-dropdown-list-' + this . index ; _skate2 . default . init ( dropdownSectionEl ) ; _skatejsTemplateHtml2 . default . wrap ( dropdownEl ) . appendChild ( dropdownSectionEl ) ; var triggerEl = createTriggerAndAssociate ( dropdownEl ) ; moreNavItemEl . appendChild ( triggerEl ) ; moreNavItemEl . appendChild ( dropdownEl ) ; if ( this . primaryButtonsWidth === 0 ) { this . $headerFind ( '.aui-nav' ) . append ( moreNavItemEl ) ; } else { this . $headerFind ( '.aui-nav > li > .aui-button:first' ) . parent ( ) . before ( moreNavItemEl ) ; } this . moreMenuWidth = ( 0 , _jquery2 . default ) ( moreNavItemEl ) . outerWidth ( true ) ; return ( 0 , _jquery2 . default ) ( moreNavItemEl ) ; }
creates the trigger and content elements for the show more dropdown
creates the trigger and content elements for the show more dropdown
// Append the More menu before any primary buttons.