harmony 鸿蒙RichEditor (System API)
RichEditor (System API)
RichEditor is a component that supports interactive text editing and mixture of text and imagery.
NOTE
This component is supported since API version 10. Updates will be marked with a superscript to indicate their earliest API version.
This topic describes only system APIs provided by the module. For details about its public APIs, see RichEditor.
RichEditorBuilderSpanOptions11+
Defines the options for adding a builder span.
Atomic service API: This API can be used in atomic services since API version 12.
System API: This is a system API.
System capability: SystemCapability.ArkUI.ArkUI.Full
Name | Type | Mandatory | Description |
---|---|---|---|
dragBackgroundColor18+ | ColorMetrics | No | Background color of the builder when it is dragged independently. If no valid value is specified, the default color is used. |
isDragShadowNeeded18+ | boolean | No | Whether to apply a shadow when the builder is dragged independently. If no valid value is specified, a shadow is applied. |
RichEditorGesture11+
Defines the callback for user interactions.
System API: This is a system API.
System capability: SystemCapability.ArkUI.ArkUI.Full
Name | Type | Mandatory | Description |
---|---|---|---|
onDoubleClick14+ | Callback<GestureEvent> | No | Callback for double-click events. Atomic service API: This API can be used in atomic services since API version 14. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦