packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
      * Pushes a layer onto the stack. The same element cannot be opened as a layer multiple times - if the given
      * element is already an open layer, this method throws an exception.
      *
      * @param {HTMLElement | String | jQuery} element  The element to push onto the stack.
      *
      * @returns {LayerManager}
      */
Pushes a layer onto the stack. The same element cannot be opened as a layer multiple times - if the given
element is already an open layer, this method throws an exception.

@param {HTMLElement | String | jQuery} element  The element to push onto the stack.


Pushes a layer onto the stack . The same element cannot be opened as a layer multiple times - if the given element is already an open layer this method throws an exception . @param { HTMLElement | String | jQuery } element The element to push onto the stack .
function push(element) {
          var $el = element instanceof _jquery2.default ? element : (0, _jquery2.default)(element);
          if (layerIndex(this._stack, $el) >= 0) {
              throw new Error('The given element is already an active layer.');
          }
          this.popLayersBeside($el);
          var layer = createLayer($el);
          var zIndex = nextZIndex(this._stack);
          layer._showLayer(zIndex);
          if (layer.isBlanketed()) {
              (0, _blanket.dim)(false, zIndex - 20);
          }
          this._stack.push($el);
          return this;
      }
function push ( element ) { var $el = element instanceof _jquery2 . default ? element : ( 0 , _jquery2 . default ) ( element ) ; if ( layerIndex ( this . _stack , $el ) >= 0 ) { throw new Error ( 'The given element is already an active layer.' ) ; } this . popLayersBeside ( $el ) ; var layer = createLayer ( $el ) ; var zIndex = nextZIndex ( this . _stack ) ; layer . _showLayer ( zIndex ) ; if ( layer . isBlanketed ( ) ) { ( 0 , _blanket . dim ) ( false , zIndex - 20 ) ; } this . _stack . push ( $el ) ; return this ; }
Pushes a layer onto the stack.
Pushes a layer onto the stack .