diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f20102e7c33d5f92c712e0117bd385132ca063ba..777f91049101a6cd8f2d411dec1cb74afb58bf21 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. *