mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!13693 Web组件增加振动开关接口
Merge pull request !13693 from lanshouren/work_0827
This commit is contained in:
commit
9664094f4c
10
api/@internal/component/ets/web.d.ts
vendored
10
api/@internal/component/ets/web.d.ts
vendored
@ -8526,6 +8526,16 @@ declare class WebAttribute extends CommonMethod<WebAttribute> {
|
||||
* @since 12
|
||||
*/
|
||||
editMenuOptions(editMenu: EditMenuOptions): WebAttribute;
|
||||
|
||||
/**
|
||||
* Enable or disable haptic feedback.
|
||||
*
|
||||
* @param { boolean } enabled - Default value is true, set false to disable haptic feedback.
|
||||
* @returns { WebAttribute }
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 13
|
||||
*/
|
||||
enableHapticFeedback(enabled: boolean): WebAttribute;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user