mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-19 18:44:47 +08:00
18 lines
370 B
TypeScript
18 lines
370 B
TypeScript
![]() |
import {Plugin, Cordova} from './plugin';
|
||
|
|
||
|
@Plugin({
|
||
|
plugin: 'cordova-plugin-spinner-dialog',
|
||
|
pluginRef: 'window.plugins.spinnerDialog',
|
||
|
platforms: ['Android','iOS','Windows Phone 8']
|
||
|
})
|
||
|
export class SpinnerDialog {
|
||
|
|
||
|
@Cordova()
|
||
|
static show(title : string, message : string) : Promise<any> {return}
|
||
|
|
||
|
@Cordova({
|
||
|
sync: true
|
||
|
})
|
||
|
static hide() : void {}
|
||
|
|
||
|
}
|