tns plugin add nativescript-toasty
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";