nativescript-material-dialogs
    TypeScript icon, indicating that this package has built-in type declarations

    3.3.2 • Public • Published

    npm npm GitHub forks GitHub stars

    NativeScript Material Dialogs

    Use the Material Design Dialogs in your {N} app

    Installation

    If using @nativescript :

    • tns plugin add nativescript-material-dialogs

    If using tns-core-modules

    • tns plugin add nativescript-material-dialogs@2.5.4

    Changelog

    Usage

    Uses the same API as Nativescript Dialogs

    Adds one option for alert:

    • view : can be a Nativescript View or a path to to XML component. The custom view will be added to the dialog. Possibilities become endless

    TS

    import { login, alert, prompt } from "nativescript-material-dialogs";
    
    alert("Your message").then(()=> {
        console.log("Dialog closed!");
    });

    Install

    npm i nativescript-material-dialogs

    DownloadsWeekly Downloads

    36

    Version

    3.3.2

    License

    Apache-2.0

    Unpacked Size

    118 kB

    Total Files

    15

    Last publish

    Collaborators

    • farfromrefuge