where is the documentation for ew.alert ?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
amiens80
User
Posts: 450

where is the documentation for ew.alert ?

Post by amiens80 »

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.

arbei
User
Posts: 9419

Post by arbei »

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"
*/

mobhar
User
Posts: 11748

Post by mobhar »

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

Post Reply