mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
support makeObserved
Signed-off-by: chenbenzhi <chenbenzhi@huawei.com>
This commit is contained in:
parent
224198957f
commit
28bd242f68
14
api/@ohos.arkui.StateManagement.d.ts
vendored
14
api/@ohos.arkui.StateManagement.d.ts
vendored
@ -214,4 +214,18 @@ export declare class UIUtils {
|
||||
* @since 12
|
||||
*/
|
||||
static getTarget<T extends object>(source: T): T;
|
||||
|
||||
/**
|
||||
* Make non-observed data into observed data.
|
||||
* Support non-observed class, JSON.parse Object and Sendable class.
|
||||
*
|
||||
* @param { T } source input source object data.
|
||||
* @returns { T } proxy object from the source object data.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
static makeObserved<T extends object>(source: T): T;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user