mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Improvements on documentation (#340)
* Improvements on documentation and some refactor * ts | js -> typescript (docs)
This commit is contained in:
committed by
Ibrahim Hadeed
parent
d4d30ab9c9
commit
7952f9ef60
@@ -43,12 +43,11 @@ export interface ToastOptions {
|
||||
* Requires Cordova plugin: `cordova-plugin-x-toast`. For more info, please see the [Toast plugin docs](https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin).
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
* import {Toast} from 'ionic-native';
|
||||
* ```typescript
|
||||
* import { Toast } from 'ionic-native';
|
||||
*
|
||||
*
|
||||
*
|
||||
* Toast.show("I'm a toast", "5000", "center").subscribe(
|
||||
* Toast.show("I'm a toast", '5000', 'center').subscribe(
|
||||
* toast => {
|
||||
* console.log(toast);
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user