mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Update dialogs page in gallery-app.
https://github.com/NativeScript/NativeScript/issues/857
This commit is contained in:
@ -76,7 +76,8 @@ export function actionTapped(args) {
|
|||||||
|
|
||||||
export function actionWithOptionsTapped(args) {
|
export function actionWithOptionsTapped(args) {
|
||||||
dialogs.action({
|
dialogs.action({
|
||||||
message: "Action",
|
title: "Action Title",
|
||||||
|
message: "Action Message",
|
||||||
cancelButtonText: "Close",
|
cancelButtonText: "Close",
|
||||||
actions: ["One", "Two", "Three"]
|
actions: ["One", "Two", "Three"]
|
||||||
}).then(r=> console.log(`Action result: ${r}`));
|
}).then(r=> console.log(`Action result: ${r}`));
|
||||||
|
Reference in New Issue
Block a user