mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
接口默认值维护
Signed-off-by: 李景杰 <lijingjie4@h-partners.com>
This commit is contained in:
parent
8afb332464
commit
3868707de8
36
api/@internal/component/ets/web.d.ts
vendored
36
api/@internal/component/ets/web.d.ts
vendored
@ -6267,26 +6267,29 @@ declare interface SelectionMenuOptionsExt {
|
||||
*/
|
||||
declare class WebAttribute extends CommonMethod<WebAttribute> {
|
||||
/**
|
||||
* Sets whether the Web allows JavaScript scripts to execute. The default value is true.
|
||||
* Sets whether the Web allows JavaScript scripts to execute.
|
||||
*
|
||||
* @param { boolean } javaScriptAccess - {@code true} means the Web can allows JavaScript scripts to execute; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Sets whether the Web allows JavaScript scripts to execute. The default value is true.
|
||||
* Sets whether the Web allows JavaScript scripts to execute.
|
||||
*
|
||||
* @param { boolean } javaScriptAccess - {@code true} means the Web can allows JavaScript scripts to execute; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
*/
|
||||
/**
|
||||
* Sets whether the Web allows JavaScript scripts to execute. The default value is true.
|
||||
* Sets whether the Web allows JavaScript scripts to execute.
|
||||
*
|
||||
* @param { boolean } javaScriptAccess - {@code true} means the Web can allows JavaScript scripts to execute; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @crossplatform
|
||||
@ -6296,26 +6299,29 @@ declare class WebAttribute extends CommonMethod<WebAttribute> {
|
||||
javaScriptAccess(javaScriptAccess: boolean): WebAttribute;
|
||||
|
||||
/**
|
||||
* Sets whether enable local file system access in Web. The default value is true.
|
||||
* Sets whether enable local file system access in Web.
|
||||
*
|
||||
* @param { boolean } fileAccess - {@code true} means enable local file system access in Web; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Sets whether enable local file system access in Web. The default value is true.
|
||||
* Sets whether enable local file system access in Web.
|
||||
*
|
||||
* @param { boolean } fileAccess - {@code true} means enable local file system access in Web; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
/**
|
||||
* Sets whether enable local file system access in Web. The default value is false.
|
||||
* Sets whether enable local file system access in Web.
|
||||
*
|
||||
* @param { boolean } fileAccess - {@code true} means enable local file system access in Web; {@code false} otherwise.
|
||||
* The default value is false.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
@ -6345,17 +6351,19 @@ declare class WebAttribute extends CommonMethod<WebAttribute> {
|
||||
onlineImageAccess(onlineImageAccess: boolean): WebAttribute;
|
||||
|
||||
/**
|
||||
* Sets whether to enable the DOM Storage API permission. The default value is false.
|
||||
* Sets whether to enable the DOM Storage API permission.
|
||||
*
|
||||
* @param { boolean } domStorageAccess - {@code true} means enable the DOM Storage API permission in Web; {@code false} otherwise.
|
||||
* The default value is false.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Sets whether to enable the DOM Storage API permission. The default value is false.
|
||||
* Sets whether to enable the DOM Storage API permission.
|
||||
*
|
||||
* @param { boolean } domStorageAccess - {@code true} means enable the DOM Storage API permission in Web; {@code false} otherwise.
|
||||
* The default value is false.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
@ -6364,17 +6372,19 @@ declare class WebAttribute extends CommonMethod<WebAttribute> {
|
||||
domStorageAccess(domStorageAccess: boolean): WebAttribute;
|
||||
|
||||
/**
|
||||
* Sets whether the Web can automatically load image resources. The default value is true.
|
||||
* Sets whether the Web can automatically load image resources.
|
||||
*
|
||||
* @param { boolean } imageAccess - {@code true} means the Web can automatically load image resources; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Sets whether the Web can automatically load image resources. The default value is true.
|
||||
* Sets whether the Web can automatically load image resources.
|
||||
*
|
||||
* @param { boolean } imageAccess - {@code true} means the Web can automatically load image resources; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
@ -6431,17 +6441,19 @@ declare class WebAttribute extends CommonMethod<WebAttribute> {
|
||||
zoomAccess(zoomAccess: boolean): WebAttribute;
|
||||
|
||||
/**
|
||||
* Sets whether to allow access to geographical locations. The default value is true.
|
||||
* Sets whether to allow access to geographical locations.
|
||||
*
|
||||
* @param { boolean } geolocationAccess - {@code true} means the Web allows access to geographical locations; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Sets whether to allow access to geographical locations. The default value is true.
|
||||
* Sets whether to allow access to geographical locations.
|
||||
*
|
||||
* @param { boolean } geolocationAccess - {@code true} means the Web allows access to geographical locations; {@code false} otherwise.
|
||||
* The default value is true.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @crossplatform
|
||||
|
Loading…
Reference in New Issue
Block a user