greg-dove opened a new issue #877:
URL: https://github.com/apache/royale-asjs/issues/877
Initial thoughts:
There is some code in TLF/src/main/royale/org/apache/royale/textLayout/dummy
but that seems to be just placeholder code.
Initial thoughts:
The use case for this is more general beyond TLF. This could be a bead in
Basic, which is then used in MXRoyale to support a 'contextMenu' property on
UIComponent for javascript.
pseudo-mxml:
```
<MyUIComponent>
<beads>
<ContextMenu>
<ContextMenuItem/>
<ContextMenuItem/>
</ContextMenu>
</beads>
</MyUIComponent>
```
Considerations:
-Access to the native menu items is not available (I believe, based on quick
research) in current browsers. That means there is not the possibility to mix
new menu items with the native items as there has been with flash player.
-Firefox and others have had 'experimental' html5 support using
contextMenu/menu/menuitem tags that cannot be relied on or used (it is not part
of the spec iiuc).
-Using a specific implementation in html5 (as a 'modal' menu) will allow
more customization of menu items than was the case in swf. Suggest we start
with something that is compatible and only add greater variation later for
html5 (e.g. support for icons) as needed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]