Closed burkedavison closed 3 years ago
The parent parameter to mxPopupMenu.addItem() is described as: parent - Optional item returned by <addItem>. https://github.com/jgraph/mxgraph/blob/master/javascript/src/js/util/mxPopupMenu.js#L189
mxPopupMenu.addItem()
parent - Optional item returned by <addItem>.
The return value type of mxPopupMenu.addItem() is Element.
Element
This change is needed to support submenus as shown in this example: https://github.com/jgraph/mxgraph/blob/master/javascript/examples/touch.html#L113-L118
The parent parameter to
mxPopupMenu.addItem()
is described as:parent - Optional item returned by <addItem>.
https://github.com/jgraph/mxgraph/blob/master/javascript/src/js/util/mxPopupMenu.js#L189The return value type of mxPopupMenu.addItem() is
Element
.This change is needed to support submenus as shown in this example: https://github.com/jgraph/mxgraph/blob/master/javascript/examples/touch.html#L113-L118