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:
@@ -27,15 +27,13 @@ import { CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
pluginRef: 'window.Ionic.WebView',
|
||||
repo: 'https://github.com/ionic-team/cordova-plugin-ionic-webview',
|
||||
platforms: ['Android', 'iOS'],
|
||||
install: 'ionic cordova plugin add cordova-plugin-ionic-webview'
|
||||
install: 'ionic cordova plugin add cordova-plugin-ionic-webview',
|
||||
})
|
||||
@Injectable()
|
||||
export class WebView extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Convert a `file://` URL to a URL that is compatible with the local web server in the Web View plugin.
|
||||
*/
|
||||
@CordovaProperty()
|
||||
convertFileSrc: (url: string) => string;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user