Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FlashService is an Angular Factory in the Layer module with the name flash.js. It provides an API to "flash" messages on the screen. To use these functions, see the documentation on injecting Angular services.

...

The FlashService has various default settings for messages. Below is the defaultSettings object, that will be angular.extended if you provide an opts object.

Code Block
themeEclipseConfluence
languagejs
linenumberstrue
defaultSettings = {
        fade: 200, // fade time (ms)
        showFor: 1200 // show message time (ms)
    };

...