awa.alert Class
Defined in:
Module: awa
/var/www/azaleahealth.com/branches/docs/source_repo/awa/resources/apps/js/awa/alert.js:3
Methods
create
(
Undefined
-
message -
classname -
timeout
create an alert
Parameters:
-
messageStringThe message to display
-
classnameStringThe class to apply to the alert
-
timeoutIntegerThe timeout, in milliseconds, or -1 for never
Returns:
Undefined:
error
(
Undefined
-
message -
timeout
error type alert
Parameters:
-
messageStringThe message to display
-
timeoutIntegerThe timeout, in milliseconds, or -1 for never
Returns:
Undefined:
hide
()
Undefined
hide the alert box
Returns:
Undefined:
loading
()
Undefined
show a Loading... message indefinitely until manually hidden
Returns:
Undefined:
message
(
Undefined
-
message -
timeout
message type alert
Parameters:
-
messageStringThe message to display
-
timeoutIntegerThe timeout, in milliseconds, or -1 for never
Returns:
Undefined:
setup
(
Undefined
-
callback
Initialize the alert by adding a
to the canvas body
Parameters:
-
callbackFunctionCalled when alert is available
Returns:
Undefined: