mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
yea toast
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import {wrap, promisify} from '../util';
|
||||
|
||||
let PLUGIN_REF = 'plugins.toast'
|
||||
|
||||
export var Toast = {
|
||||
// Metadata
|
||||
name: 'Toast',
|
||||
plugin: 'cordova-plugin-x-toast',
|
||||
|
||||
// Methods
|
||||
showWithOptions: wrap(PLUGIN_REF, 'showWithOptions', 1, 2),
|
||||
hide: promisify(PLUGIN_REF, 'hide', 0, 1),
|
||||
}
|
||||
Reference in New Issue
Block a user