Lines Matching refs:webview

10   import { webview } from '@kit.ArkWeb';
15 controller: webview.WebviewController = new webview.WebviewController();
25 - Use [isIncogntoMode](../reference/apis-arkweb/js-apis-webview.md#isincognitomode11) to check whet…
29 import { webview } from '@kit.ArkWeb';
35 controller: webview.WebviewController = new webview.WebviewController();
56 - Use [allowGeolocation](../reference/apis-arkweb/js-apis-webview.md#allowgeolocation) to allow the…
60 import { webview } from '@kit.ArkWeb';
66 controller: webview.WebviewController = new webview.WebviewController();
75 webview.GeolocationPermissions.allowGeolocation(this.origin, true);
86 - Use [deleteGeolocation](../reference/apis-arkweb/js-apis-webview.md#deletegeolocation) to clear t…
90 import { webview } from '@kit.ArkWeb';
96 controller: webview.WebviewController = new webview.WebviewController();
105 webview.GeolocationPermissions.deleteGeolocation(this.origin, true);
116 - Use [getAccessibleGeolocation](../reference/apis-arkweb/js-apis-webview.md#getaccessiblegeolocati…
120 import { webview } from '@kit.ArkWeb';
126 controller: webview.WebviewController = new webview.WebviewController();
135webview.GeolocationPermissions.getAccessibleGeolocation(this.origin, (error, result) => {
152 - Use [deleteAllData](../reference/apis-arkweb/js-apis-webview.md#deletealldata) to delete all data…
156 import { webview } from '@kit.ArkWeb';
162 controller: webview.WebviewController = new webview.WebviewController();
170 webview.WebStorage.deleteAllData(true);
226 - Use [fetchCookieSync](../reference/apis-arkweb/js-apis-webview.md#fetchcookiesync11) to obtain th…
230 import { webview } from '@kit.ArkWeb';
236 controller: webview.WebviewController = new webview.WebviewController();
244 let value = webview.WebCookieManager.fetchCookieSync('https://www.example.com', true);
256 - Use [configCookieSync](../reference/apis-arkweb/js-apis-webview.md#configcookiesync11) to set a c…
260 import { webview } from '@kit.ArkWeb';
266 controller: webview.WebviewController = new webview.WebviewController();
274 webview.WebCookieManager.configCookieSync('https://www.example.com', 'a=b', true);
285 - Use [existCookie](../reference/apis-arkweb/js-apis-webview.md#existcookie) to check whether cooki…
289 import { webview } from '@kit.ArkWeb';
294 controller: webview.WebviewController = new webview.WebviewController();
301 let result = webview.WebCookieManager.existCookie(true);
310 - Use [clearAllCookiesSync](../reference/apis-arkweb/js-apis-webview.md#clearallcookiessync11) to d…
314 import { webview } from '@kit.ArkWeb';
319 controller: webview.WebviewController = new webview.WebviewController();
326 webview.WebCookieManager.clearAllCookiesSync(true);