where is the documentation for ew.alert ?

hi,

i searched in the help file the documentation for the function ew.alert but i can’t find it.
is there any one ?

i saw the syntaxe ew.alert(“mytext”,null,“success”);
i’d liek to know what is the seoncd null parameter, and what are the other flag instead of “sucess”.

Thank you for your concern.

From the source code:

/**

  • Alert
  • @param {string} msg - Message
  • @param {callback} cb - Callback function
  • @param {string} type - CSS class: “muted|primary|success|info|warning|danger”
    */

See that code from “ew.js” template file (not from the generated “ew.js” file, since it may be compressed while generating script files).