chore(repo): move files to new repo name

This commit is contained in:
Daniel Sogl
2021-09-27 17:07:03 +02:00
parent 3ae573b632
commit 15c441cc2a
246 changed files with 484 additions and 523 deletions
@@ -0,0 +1,40 @@
import { Injectable } from '@angular/core';
import { CordovaProperty, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/**
* @name Ionic Webview
* @capacitorincompatible true
* @description
* Access Web View utilities.
*
* Requires the Cordova plugin: `cordova-plugin-ionic-webview` > 2.0. For more info, please see the [Ionic Web View](https://github.com/ionic-team/cordova-plugin-ionic-webview) repository.
*
* @usage
* ```typescript
* import { WebView } from '@awesome-cordova-plugins/ionic-webview/ngx';
*
*
* constructor(private webview: WebView) { }
*
* ...
*
* img = this.webview.convertFileSrc('file:///Users/dan/camera-image-12345.png')
*
* ```
*/
@Plugin({
pluginName: 'WebView',
plugin: 'cordova-plugin-ionic-webview',
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',
})
@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;
}