nativescript-toast
Advanced tools
Comparing version 1.4.0-5 to 1.4.0-6
{ | ||
"name": "nativescript-toast", | ||
"version": "1.4.0-5", | ||
"version": "1.4.0-6", | ||
"description": "A NativeScript Toast Plugin for Android and iOS apps.", | ||
@@ -5,0 +5,0 @@ "main": "toast.js", |
@@ -46,3 +46,13 @@ # NativeScript Toast Plugin | ||
``` | ||
Or via import: | ||
```js | ||
import * as Toast from 'nativescript-toast'; | ||
// ... | ||
var toast = Toast.makeText("Hello World"); | ||
toast.show(); | ||
``` | ||
It is also possible to chain the methods. | ||
@@ -49,0 +59,0 @@ ```js |
17279
68