Demos
Message : arguments[0] : (String)
Example:
wMsg('Demo wMsg');
Title : arguments[1] : (String)
Example:
wAlert('Demo wAlert', 'Custom Title');
Value : arguments[2] : (String)
Example:
wPrompt('Demo wPrompt', 'Title', 'Default Value');
Callback : arguments[First Function] : (Function)
Description:
Only First function of arguments will be CallBack Function.
Example:
wConfirm('Demo wConfirm Callback', 'Title', callbackresult );
Return: (Boolean/String)
Only wPrompt() will return String (from Input Value).Callback Result:
Public Method:
Setting : $.wAlert.options.setisPlaceholder(); : (Boolean)
False(Default): wPrompt Display Value.
Description:You can change the default value of prompt input.
Example:
$.wAlert.options.setisPlaceholder(false);
wPrompt('Message', callback, 'Title', 'Default Value');
Callback Result:
True: wPrompt Placeholder Value.
Description:You can also change the default value of prompt input Placeholder.
Example:
$.wAlert.options.setisPlaceholder(true);
wPrompt('Message', callback, 'Title', 'Placeholder');
Callback Result: