Skip to content

shiv19/nativescript-toasty

 
 

Repository files navigation

NativeScript-Toasty

npm npm

Install

tns plugin add nativescript-toasty

Usage

TypeScript

import {Toasty} from 'nativescript-toasty'
const toast = new Toasty("Toast message");
toast.show();

JavaScript

var toasty = require('nativescript-toast').Toasty;
var toast = new toasty("Toast message");
toast.show();

##Config

Toasty(message:string, duration?:string, position?:string);

duration = "short | long";
position = "bottom | center | top";

About

🍞 NativeScript toast plugin 🍞

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages