mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Button added
This commit is contained in:
@@ -55,7 +55,7 @@ Custom dialogs:
|
||||
d.show();
|
||||
setTimeout(function(){ d.hide(); }, 2000);
|
||||
|
||||
//or cancelable
|
||||
//or cancelable loading dialog
|
||||
var d = new dialogs.Dialog("Loading...",
|
||||
function(r){ dialogs.alert("You just canceled loading!"); }, { cancelButtonText: "Cancel" });
|
||||
d.show();
|
||||
|
||||
Reference in New Issue
Block a user