packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
           * Scrolls to element if out of view, then clicks it.
           *
           * @method moveToAndClick
           * @param selector - jQuery selector for element
           * @return {Object}
           */
Scrolls to element if out of view, then clicks it.
@method moveToAndClick
@param selector - jQuery selector for element
@return {Object}
Scrolls to element if out of view then clicks it . @method moveToAndClick @param selector - jQuery selector for element @return { Object }
function moveToAndClick(selector) {
              selectorsWithTitlesModified.push(selector);
              addShortcutsToTitle(selector);
              executor.add(function () {
                  var $el = (0, _jquery2.default)(selector);
                  if ($el.length > 0) {
                      triggerClickEvent($el);
                      $el.moveTo();
                  }
              });
              return this;
          }
function moveToAndClick ( selector ) { selectorsWithTitlesModified . push ( selector ) ; addShortcutsToTitle ( selector ) ; executor . add ( function ( ) { var $el = ( 0 , _jquery2 . default ) ( selector ) ; if ( $el . length > 0 ) { triggerClickEvent ( $el ) ; $el . moveTo ( ) ; } } ) ; return this ; }
Scrolls to element if out of view, then clicks it.
Scrolls to element if out of view then clicks it .