mixin Dialog.Native
Description
Utilities to simulate native browser dialogs. Mixed into the Dialog namespace for convenience.
Class methods
-
alert #
Dialog.Native.alert(message) ⇒ Dialog.Base
Dialog.alert(message) ⇒ Dialog.BaseSimulates the native
alertdialog.Aliased as:
$alert -
confirm #
Dialog.Native.confirm(question, handler) ⇒ Dialog.Base
Dialog.confirm(question, handler) ⇒ Dialog.BaseThe handler function will receive
trueis the answer is positive, andfalseif negative.Aliased as:
$confirm -
prompt #
Dialog.Native.prompt(question, handler) ⇒ Dialog.Base
Dialog.prompt(question, handler) ⇒ Dialog.BaseThe handler funtion will receive the answer or
nullif cancelled.Aliased as:
$prompt
