Connect with us

HarmonyOS NEXT

Huawei HarmonyOS 6.0.0 Beta 1 is out with new text input features for ArkUI

Published

on

Huawei HarmonyOS

Huawei has launched the HarmonyOS 6.0 developer beta, and at the same time, the company is bringing HarmonyOS 6.0.0 Beta 1 with a set of new features and ArkUI capabilities. The tech giant has added useful text input functions this time.

According to the details, Huawei HarmonyOS 6.0.0 (20) Beta 1 has many significant base open capabilities. It brings cross-thread data transmission features and improves the processing of pull-end requests with an optional CompletionHandler.

In addition, the new version expands background service capabilities and supports filtering of qualified grouped data. It adds new text input methods and high-level kit features likes Data Augmentation Kit, Enterprise Space Kit, Screen Time Guard Kit, and more.

We have mentioned the ArkUI capabilities found in the new HarmonyOS 6.0.0 (20) beta 1 version. You can check the complete changelog in the source link given below.

HarmonyOS 6.0.0 Beta 1 feature details

(Image Credits: Huawei)

ArkUI

Text and input component capabilities are enhanced, including:

  • Added new text decoration line styles, supporting the setting of strikethrough and underline for text.
  • The text component now supports defining whether the set text line spacing is effective for the first line.
  • The basic definition of the text component now supports setting the display effect when the text is too long.
  • The text input components (TextInput, TextArea, Search) have added a new verification code input mode ONE_TIME_CODE. It also corresponds to the provided C API property ARKUI_TEXTINPUT_TYPE_ONE_TIME_CODE .
  • The text component adds a new text stroke style, which supports setting description width and color.
  • Added C API to support counting text lines in text components (NODE_TEXT_LINE_COUNT).
  • Added C API to support triggering long press events of Span components ( NODE_TEXT_SPAN_ON_LONG_PRESS ).

Other Features

  • Refresh supports setting the maximum pull-down distance.
  • Tabs support setting the page turning animation curve when sliding pages.
  • Scrolling components support setting the start and end margins of the scroll bar.
  • The Swiper component supports setting whether to keep the position of the visible content unchanged when inserting or deleting data above or in front of the display area.
  • The drag event supports obtaining the screen ID where the event occurs.
  • During the graphic change process, it is supported to set the rotation angle in a single direction.
  • Custom pop-up windows support obtaining pop-up window status, such as initialization.
  • Optimize the grid layout breakpoints. If the number of grid columns for a smaller breakpoint is not configured, the system uses the number of grid columns for a larger breakpoint that has been configured to complete the unconfigured number of grid columns.
  • Added ToolBarItem component to support adding toolbar items to the window title bar.
  • Added new capabilities related to accessibility events, providing the ability to intercept accessibility events after the system turns on accessibility mode.
  • Supports custom enabling/disabling of corner mark display.
  • Supports querying whether the current ComponentContent object has released the reference relationship with the backend entity node.
  • Added C API to support setting component translation by percentage or specific value (NODE_TRANSLATE_WITH_PERCENT).
  • Drawing class components support dynamic attribute setting methods through the attributeModifier.
  • CanvasRenderingContext2D supports drawing rounded rectangles.

[source]

I like to listen to music, sing, dance, and play outdoor games. I have a huge interest in reading novels and cooking. I'm good enough as a speaker. Besides, I have the willingness to learn new things and increase my knowledge in different aspects with full dedication and determination.