From dac922333140b6b1d8c67b12d26a367561f209ef Mon Sep 17 00:00:00 2001 From: Owali Ullah Shawon <33037708+OwaliShawon@users.noreply.github.com> Date: Sun, 29 Jan 2023 16:04:16 +0600 Subject: [PATCH] Update action.md need to import the action --- content/docs/en/elements/dialogs/action.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/docs/en/elements/dialogs/action.md b/content/docs/en/elements/dialogs/action.md index 9c78b99b..d6fb89a0 100644 --- a/content/docs/en/elements/dialogs/action.md +++ b/content/docs/en/elements/dialogs/action.md @@ -15,6 +15,7 @@ The method is part of the [`dialogs` module](https://docs.nativescript.org/api-r The `action()` method is available globally. You can call it anywhere in your app. ```JavaScript +import { action } from '@nativescript/core/ui/dialogs' action("Your message", "Cancel button text", ["Option1", "Option2"]) .then(result => { console.log(result); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy