!1504 滚动类组件capi支持fling接口

Merge pull request !1504 from honzx/0927fling
This commit is contained in:
openharmony_ci
2024-10-08 08:38:32 +00:00
committed by Gitee
+12
View File
@@ -4483,6 +4483,18 @@ typedef enum {
*/
NODE_SCROLL_BY,
/**
* @brief Performs inertial scrolling based on the initial velocity passed in.
*
* Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n
* .value[0].f32: Initial velocity of inertial scrolling. Unit: vp/s. If the value specified is 0, it is
* considered as invalid, and the scrolling for this instance will not take effect. If the value is positive,
* the scroll will move downward; if the value is negative, the scroll will move upward. \n
*
* @since 13
*/
NODE_SCROLL_FLING,
/**
* @brief Defines the direction in which the list items are arranged. This attribute can be set, reset, and
* obtained as required through APIs.