0.0.2 • Published 1 year ago
capacitor-webview-plugin v0.0.2
capacitor-webview-plugin
Ce plugin permet aux applications Capacitor d'afficher du contenu web dans une WebView native, offrant une expérience utilisateur fluide et intégrée pour le contenu en ligne. Il fournit des fonctionnalités supplémentaires pour personnaliser et contrôler la navigation web directement depuis l'application mobile.
Install
npm install capacitor-webview-plugin
npx cap sync
API
** WEB VIEW PLUGIN ***
setServerAssetPath(...)
setServerAssetPath(options: WebViewPath) => Promise<void>
Param | Type |
---|---|
options | WebViewPath |
setServerBasePath(...)
setServerBasePath(options: WebViewPath) => Promise<void>
Param | Type |
---|---|
options | WebViewPath |
getServerBasePath()
getServerBasePath() => Promise<WebViewPath>
Returns: Promise<WebViewPath>
persistServerBasePath()
persistServerBasePath() => Promise<void>
Interfaces
WebViewPath
Prop | Type |
---|---|
path | string |