mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -50,11 +50,10 @@ export interface SpinnerDialogIOSOptions {
|
||||
plugin: 'cordova-plugin-native-spinner',
|
||||
pluginRef: 'SpinnerDialog',
|
||||
repo: 'https://github.com/greybax/cordova-plugin-native-spinner',
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows']
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8', 'Windows'],
|
||||
})
|
||||
@Injectable()
|
||||
export class SpinnerDialog extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Shows the spinner dialog
|
||||
* @param title {string} Spinner title (shows on Android only)
|
||||
@@ -63,18 +62,15 @@ export class SpinnerDialog extends IonicNativePlugin {
|
||||
* @param iOSOptions {object} Options for iOS only
|
||||
*/
|
||||
@Cordova({
|
||||
sync: true
|
||||
sync: true,
|
||||
})
|
||||
show(title?: string, message?: string, cancelCallback?: any, iOSOptions?: SpinnerDialogIOSOptions): void {
|
||||
}
|
||||
show(title?: string, message?: string, cancelCallback?: any, iOSOptions?: SpinnerDialogIOSOptions): void {}
|
||||
|
||||
/**
|
||||
* Hides the spinner dialog if visible
|
||||
*/
|
||||
@Cordova({
|
||||
sync: true
|
||||
sync: true,
|
||||
})
|
||||
hide(): void {
|
||||
}
|
||||
|
||||
hide(): void {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user