awesome-cordova-plugins/src/plugins/toast.ts

16 lines
315 B
TypeScript
Raw Normal View History

2015-11-29 08:26:55 +08:00
import {Plugin, Cordova} from './plugin';
2015-11-29 06:52:05 +08:00
2015-11-29 08:26:55 +08:00
@Plugin({
2015-11-29 06:52:05 +08:00
name: 'Toast',
plugin: 'cordova-plugin-x-toast',
2015-11-30 06:30:15 +08:00
pluginRef: 'plugins.toast',
repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin'
2015-11-29 08:26:55 +08:00
})
export class Toast {
2015-12-01 00:11:48 +08:00
@Cordova()
2015-11-30 09:54:45 +08:00
static hide(){};
2015-11-29 06:52:05 +08:00
2015-12-01 00:11:48 +08:00
@Cordova()
static showWithOptions(options:any){};
2015-11-29 06:52:05 +08:00
}