diff --git a/api/arkui/FrameNode.d.ts b/api/arkui/FrameNode.d.ts index 08a9acd0b111ab4ec7668b87206851a7ce811545..ef49dfe8752105de9caa7b0f7d22f060e82057c0 100644 --- a/api/arkui/FrameNode.d.ts +++ b/api/arkui/FrameNode.d.ts @@ -2168,22 +2168,6 @@ export namespace typeNode { */ function createNode(context: UIContext, nodeType: 'Button'): Button; - /** - * Get the attribute instance of FrameNode to set attributes. - * If the node is not created using ArkTS, cross-language access must be enabled; otherwise, undefined is returned. - * This API does not support declaratively created nodes. - * - * @param { FrameNode } node - the target FrameNode. - * @param { 'Button' } nodeType - node type. - * @returns { ButtonAttribute | undefined } - Return the attribute instance of FrameNode, and return undefined if it - * does not exist. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ - export function getAttribute(node: FrameNode, nodeType: 'Button'): ButtonAttribute | undefined; - /** * Define the FrameNode type for ListItemGroup. * @@ -2455,22 +2439,6 @@ export namespace typeNode { */ function createNode(context: UIContext, nodeType: 'Checkbox'): Checkbox; - /** - * Get the attribute instance of FrameNode to set attributes. - * If the node is not created using ArkTS, cross-language access must be enabled; otherwise, undefined is returned. - * This API does not support declaratively created nodes. - * - * @param { FrameNode } node - the target FrameNode. - * @param { 'Checkbox' } nodeType - node type. - * @returns { CheckboxAttribute | undefined } - Return the attribute instance of FrameNode, and return undefined if it - * does not exist. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ - export function getAttribute(node: FrameNode, nodeType: 'Checkbox'): CheckboxAttribute | undefined; - /** * Define the FrameNode type for CheckboxGroup. * @@ -2531,22 +2499,6 @@ export namespace typeNode { */ function createNode(context: UIContext, nodeType: 'Radio'): Radio; - /** - * Get the attribute instance of FrameNode to set attributes. - * If the node is not created using ArkTS, cross-language access must be enabled; otherwise, undefined is returned. - * This API does not support declaratively created nodes. - * - * @param { FrameNode } node - the target FrameNode. - * @param { 'Radio' } nodeType - node type. - * @returns { RadioAttribute | undefined } - Return the attribute instance of FrameNode, and return undefined if it - * does not exist. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ - export function getAttribute(node: FrameNode, nodeType: 'Radio'): RadioAttribute | undefined; - /** * Define the FrameNode type for Rating. * @@ -2637,22 +2589,6 @@ export namespace typeNode { */ function createNode(context: UIContext, nodeType: 'Slider'): Slider; - /** - * Get the attribute instance of FrameNode to set attributes. - * If the node is not created using ArkTS, cross-language access must be enabled; otherwise, undefined is returned. - * This API does not support declaratively created nodes. - * - * @param { FrameNode } node - the target FrameNode. - * @param { 'Slider' } nodeType - node type. - * @returns { SliderAttribute | undefined } - Return the attribute instance of FrameNode, and return undefined if it - * does not exist. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ - export function getAttribute(node: FrameNode, nodeType: 'Slider'): SliderAttribute | undefined; - /** * Define the FrameNode type for Toggle. * @@ -2684,22 +2620,6 @@ export namespace typeNode { */ function createNode(context: UIContext, nodeType: 'Toggle', options?: ToggleOptions): Toggle; - /** - * Get the attribute instance of FrameNode to set attributes. - * If the node is not created using ArkTS, cross-language access must be enabled; otherwise, undefined is returned. - * This API does not support declaratively created nodes. - * - * @param { FrameNode } node - the target FrameNode. - * @param { 'Toggle' } nodeType - node type. - * @returns { ToggleAttribute | undefined } - Return the attribute instance of FrameNode, and return undefined if it - * does not exist. - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ - export function getAttribute(node: FrameNode, nodeType: 'Toggle'): ToggleAttribute | undefined; - /** * Define the FrameNode type for Marquee. *