Searched refs:bindSelectionMenu (Results 1 – 16 of 16) sorted by relevance
364 .bindSelectionMenu(RichEditorSpanType.IMAGE, this.menu(), ResponseType.LongPress)367 .bindSelectionMenu(RichEditorSpanType.IMAGE, this.menu(), ResponseType.LongPress)369 .bindSelectionMenu(RichEditorSpanType.BUILDER, this.menu(), ResponseType.LongPress)
4 文本选择菜单,适用于富文本组件通过[bindSelectionMenu](./ts-basic-components-richeditor.md#bindselectionmenu)绑定自定义文本选…26 …及组件大小为零。表现例如,富文本组件[RichEditor](ts-basic-components-richeditor.md)使用[bindSelectionMenu](ts-basic-co…393 … .bindSelectionMenu(RichEditorSpanType.TEXT, this.MyMenu3(), RichEditorResponseType.RIGHT_CLICK)394 .bindSelectionMenu(RichEditorSpanType.TEXT, this.MyMenu2(), RichEditorResponseType.SELECT)
567 ### bindSelectionMenu<sup>11+</sup>569 bindSelectionMenu(spanType: TextSpanType, content: CustomBuilder, responseType: TextResponseType,574 bindSelectionMenu长按响应时长为600ms,bindContextMenu长按响应时长为800ms,同时绑定且触发方式均为长按时,优先响应bindSelectionMenu。1454 该示例通过bindSelectionMenu、onTextSelectionChange、closeSelectionMenu接口实现了文本绑定自定义菜单的功能。1476 ….bindSelectionMenu(TextSpanType.IMAGE, this.LongPressImageCustomMenu, TextResponseType.LONG_PRESS,…1484 … .bindSelectionMenu(TextSpanType.TEXT, this.RightClickTextCustomMenu, TextResponseType.RIGHT_CLICK)1485 .bindSelectionMenu(TextSpanType.MIXED, this.SelectMixCustomMenu, TextResponseType.SELECT)
887 | SELECTABLE_UNFOCUSABLE | 文本可选择,但不可获焦,设置属性selection、bindSelectionMenu、copyOption不影响当前行为。 |889 | UNSELECTABLE | 文本不可选择,不可获焦,设置属性selection、bindSelectionMenu、copyOption都不生效。 |
75 ### bindSelectionMenu subsection77 bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType …101 copyOptions不为CopyOptions.None时,长按组件内容,会弹出文本选择弹框。如果通过bindSelectionMenu等方式自定义文本选择菜单,则会弹出自定义的菜单。1078 > - 支持通过[bindSelectionMenu](#bindselectionmenu)设置自定义菜单。2014 通过[bindSelectionMenu](#bindselectionmenu)给组件绑定自定义菜单。2122 ….bindSelectionMenu(RichEditorSpanType.TEXT, this.panel, ResponseType.LongPress, { onDisappear: () …2125 ….bindSelectionMenu(RichEditorSpanType.TEXT, this.panel, ResponseType.RightClick, { onDisappear: ()…
4 …llowing you to bind a custom context menu on selection through the [bindSelectionMenu](./ts-basic-…391 … .bindSelectionMenu(RichEditorSpanType.TEXT, this.MyMenu3(), RichEditorResponseType.RIGHT_CLICK)392 .bindSelectionMenu(RichEditorSpanType.TEXT, this.MyMenu2(), RichEditorResponseType.SELECT)
567 ### bindSelectionMenu<sup>11+</sup>569 bindSelectionMenu(spanType: TextSpanType, content: CustomBuilder, responseType: TextResponseType,574 …bindSelectionMenu** and 800 ms for **bindContextMenu**. When both **bindSelectionMenu** and **bind…1454 This example showcases how to bind text to a custom menu using the **bindSelectionMenu**, **onTextS…1476 ….bindSelectionMenu(TextSpanType.IMAGE, this.LongPressImageCustomMenu, TextResponseType.LONG_PRESS,…1484 … .bindSelectionMenu(TextSpanType.TEXT, this.RightClickTextCustomMenu, TextResponseType.RIGHT_CLICK)1485 .bindSelectionMenu(TextSpanType.MIXED, this.SelectMixCustomMenu, TextResponseType.SELECT)
75 ### bindSelectionMenu subsection77 bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType …101 …ays the context menu. If a custom context menu is defined through **bindSelectionMenu** or other a…1079 > - Custom menus set using [bindSelectionMenu](#bindselectionmenu) are not supported.2121 ….bindSelectionMenu(RichEditorSpanType.TEXT, this.panel, ResponseType.LongPress, { onDisappear: () …2124 ….bindSelectionMenu(RichEditorSpanType.TEXT, this.panel, ResponseType.RightClick, { onDisappear: ()…
887 …text is selectable, but not focusable. Setting the **selection**, **bindSelectionMenu**, or **copy…889 … | The text is not selectable nor focusable. The **selection**, **bindSelectionMenu**, and **cop…
59 通过[bindSelectionMenu](../reference/apis-arkui/arkui-ts/ts-basic-components-richeditor.md#bindselect…122 .bindSelectionMenu(RichEditorSpanType.TEXT, this.SystemMenu, ResponseType.LongPress, {
345 …bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType…
53 You can set a custom context menu on text selection using the [bindSelectionMenu](../reference/apis…69 .bindSelectionMenu(RichEditorSpanType.TEXT, this.SystemMenu, ResponseType.LongPress, {
2729 ### bindSelectionMenu<sup>13+</sup>2731 bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseTyp…2794 .bindSelectionMenu(WebElementType.IMAGE, this.MenuBuilder, WebResponseType.LONG_PRESS,2838 <h1>bindSelectionMenu Demo</h1>
440 …bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType…
8455 bindSelectionMenu(spanType, content, responseType, options) { method in ArkRichEditorComponent