From a3483c46823ad8f34ad2cacc0848955cba1c0d11 Mon Sep 17 00:00:00 2001 From: ChenYC009 Date: Tue, 26 Nov 2024 21:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=9C=AC=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E6=96=B0=E5=A2=9Eeditable=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: https://gitee.com/openharmony/interface_sdk_c/issues/IB78CE Signed-off-by: ChenYC009 Change-Id: Ib8744db303cb81c13501e985dc241ddb9e233195 --- arkui/ace_engine/native/native_node.h | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f20102e7c..777f91049 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2966,6 +2966,20 @@ typedef enum { * */ NODE_TEXT_INPUT_NUMBER_OF_LINES, + + /** + * @brief Sets whether the text input is editable. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: whether the text input is editable. The default value is true.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: whether the text input is editable.\n + * + * @since 16 + */ + NODE_TEXT_INPUT_EDITABLE, + /** * @brief Defines the default placeholder text for the multi-line text box. * This attribute can be set, reset, and obtained as required through APIs. @@ -3260,6 +3274,20 @@ typedef enum { * */ NODE_TEXT_AREA_NUMBER_OF_LINES, + + /** + * @brief Sets whether the text area is editable. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: whether the text area is editable. The default value is true.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: whether the text area is editable.\n + * + * @since 16 + */ + NODE_TEXT_AREA_EDITABLE, + /** * @brief Defines the button text content. This attribute can be set, reset, and obtained as required through APIs. * -- Gitee