packages/ag-grid-docs/src/dist/aui/js/aui.js
//Small functions to keep the code easier to read and avoid code duplication
Small functions to keep the code easier to read and avoid code duplication
Small functions to keep the code easier to read and avoid code duplication
function fadeOut() {
              $this.stop(true, false).delay(delay).fadeOut(duration, function () {
                  $this.closeMessage();
              });
          }
function fadeOut ( ) { $this . stop ( true , false ) . delay ( delay ) . fadeOut ( duration , function ( ) { $this . closeMessage ( ) ; } ) ; }
Small functions to keep the code easier to read and avoid code duplication
Small functions to keep the code easier to read and avoid code duplication
//Algorithm: //1. Stop all running animations (first arg), including any fade animation and delay //   Do not jump to the end of the animation (second arg). This prevents the message to abruptly //   jump to opacity:0 or opacity:1 //2. Wait <delay> ms before starting the fadeout //3. Start the fadeout with a duration of <duration> ms //4. Close the message at the end of the animation