forked from github/Toast-PhoneGap-Plugin
implemented Toast params from JS
This commit is contained in:
parent
d70e04d70b
commit
37b3857673
@ -1,4 +1,4 @@
|
|||||||
cordova.define("nl.x-services.plugins.toast.Toast", function(require, exports, module) {function Toast() {
|
function Toast() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Toast.prototype._show = function (message, duration, position, successCallback, errorCallback) {
|
Toast.prototype._show = function (message, duration, position, successCallback, errorCallback) {
|
||||||
@ -38,4 +38,4 @@ cordova.define("nl.x-services.plugins.toast.Toast", function(require, exports, m
|
|||||||
return window.plugins.toast;
|
return window.plugins.toast;
|
||||||
};
|
};
|
||||||
|
|
||||||
cordova.addConstructor(Toast.install);});
|
cordova.addConstructor(Toast.install);
|
Loading…
x
Reference in New Issue
Block a user