From f25c1ba44613598ed30ea39b58fac8b870bf0a74 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Mon, 12 Jun 2023 17:26:55 +0800 Subject: [PATCH] fixed da802cc from https://gitee.com/esterzhou/docs/pulls/19547 Update docs (18439) Signed-off-by: ester.zhou --- en/application-dev/faqs/Readme-EN.md | 7 +- .../faqs-arkui-animation-interactive-event.md | 269 ++++ en/application-dev/faqs/faqs-arkui-arkts.md | 4 +- .../faqs/faqs-arkui-component.md | 687 ++++++++ en/application-dev/faqs/faqs-arkui-js.md | 37 + en/application-dev/faqs/faqs-arkui-layout.md | 49 + .../faqs/faqs-arkui-route-nav.md | 28 + en/application-dev/faqs/faqs-arkui.md | 1416 ----------------- 8 files changed, 1078 insertions(+), 1419 deletions(-) create mode 100644 en/application-dev/faqs/faqs-arkui-animation-interactive-event.md create mode 100644 en/application-dev/faqs/faqs-arkui-component.md create mode 100644 en/application-dev/faqs/faqs-arkui-js.md create mode 100644 en/application-dev/faqs/faqs-arkui-layout.md create mode 100644 en/application-dev/faqs/faqs-arkui-route-nav.md delete mode 100644 en/application-dev/faqs/faqs-arkui.md diff --git a/en/application-dev/faqs/Readme-EN.md b/en/application-dev/faqs/Readme-EN.md index 2d2d57ca6b..195bfc2294 100644 --- a/en/application-dev/faqs/Readme-EN.md +++ b/en/application-dev/faqs/Readme-EN.md @@ -4,7 +4,12 @@ - [Switching to Full SDK](full-sdk-switch-guide.md) - [Application Model Development](faqs-ability.md) - ArkUI Framework Development (ArkTS) - - [ArkUI Development (ArkTS Syntax)](faqs-arkui-arkts.md) + - [ArkTS Syntax Usage](faqs-arkui-arkts.md) + - [ArkUI Component Development (ArkTS)](faqs-arkui-component.md) + - [ArkUI Layout Development (ArkTS)](faqs-arkui-layout.md) + - [ArkUI Routing/Navigation Development (ArkTS)](faqs-arkui-route-nav.md) + - [ArkUI Animation/Interaction Event Development (ArkTS)](faqs-arkui-animation-interactive-event.md) +- [ArkUI Development (JS)](faqs-arkui-js.md) - [Web Development](faqs-arkui-web.md) - [Bundle Management Development](faqs-bundle-management.md) - [Resource Manager Development](faqs-globalization.md) diff --git a/en/application-dev/faqs/faqs-arkui-animation-interactive-event.md b/en/application-dev/faqs/faqs-arkui-animation-interactive-event.md new file mode 100644 index 0000000000..fbe2594e65 --- /dev/null +++ b/en/application-dev/faqs/faqs-arkui-animation-interactive-event.md @@ -0,0 +1,269 @@ +# ArkUI Animation/Interaction Event Development (ArkTS) + +## What should I do if the onBlur and onFocus callbacks cannot be triggered? + +Applicable to: OpenHarmony 3.2 Beta 5 (API version 9) + +**Symptom** + +The **onBlur** and **onFocus** callbacks of the focus event cannot be triggered. + +**Solution** + +Check the trigger device. By default, the focus event (and the **onBlur** and **onFocus** callbacks) can be triggered only by the Tab button and arrow buttons on the connected keyboard. To enable the focus event to be triggered by a touch, add the **focusOnTouch** attribute for the target component. + +**Reference** + +[Focus Control](../reference/arkui-ts/ts-universal-attributes-focus.md) + +## How do I disable the scroll event of a \ nested in the \? + +Applicable to: OpenHarmony 3.2 Beta 5 (API version 9) + +Implement nested scrolling of the containers, by using the **onScrollFrameBegin** event and the **scrollBy** method. + +**Reference** + +[Scroll](../reference/arkui-ts/ts-container-scroll.md#example-2) + +## How do I enable a component to rotate continuously? + +Applicable to: OpenHarmony 3.2 Beta 5 (API version 9) + +You can use [attribute animation](../reference/arkui-ts/ts-animatorproperty.md) to that effect. + +## How do I scroll a list with the keyboard? + +Applicable to: OpenHarmony 3.2 Beta 5 (API version 9) + +**Solution** + +- Add **focusable\(true\)** to the list item to enable it to obtain focus. + +- Nest a focusable component, for example, **\