Skip to content

Commit

Permalink
feat(plugin): add spinner dialog plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Mar 19, 2016
1 parent 139673e commit 812653c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/plugins/spinnerdialog.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 {}

}

0 comments on commit 812653c

Please sign in to comment.