yea toast

This commit is contained in:
Max Lynch
2015-11-28 16:52:05 -06:00
parent 4b519753d2
commit 044a824f29
7 changed files with 74 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
var util_1 = require('../util');
var PLUGIN_REF = 'plugins.toast';
exports.Toast = {
// Metadata
name: 'Toast',
plugin: 'cordova-plugin-x-toast',
// Methods
showWithOptions: util_1.wrap(PLUGIN_REF, 'showWithOptions', 1, 2),
hide: util_1.promisify(PLUGIN_REF, 'hide', 0, 1),
};