You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed Context menu example to work with all engines (#172)
* Fixed Context menu example to work with all engines
* minor
Signed-off-by: Daniele Bacarella <daniele.bacarella@here.com>
---------
Signed-off-by: Daniele Bacarella <daniele.bacarella@here.com>
<p>In order to add context menu items, first you need to subscribe to contextmenu event. ContextMenuEvent has a special items property, where menu items are stored. Each menu item is an instance of H.util.ContextItem class.
28
+
<p>In order to add context menu items, first you need to subscribe to contextmenu event. ContextMenuEvent has a special items property, where menu items are stored. Each menu item is an instance of H.util.ContextItem class.
29
29
</p>
30
30
<p>By default new menu items does not replace the previous ones, instead all items are collected and displayed together. However you can easily modify the items array to change this behaviour. </p>
31
31
<p>Context items can be visually separated from each other by using the H.util.ContextItem.SEPARATOR.
0 commit comments