Closed rkpatel33 closed 6 years ago
@rkpatel33 try ...
let contextMenuBuilder = new ContextMenuBuilder(window.spellCheckHandler, null, true);
let contextMenuListener = new ContextMenuListener((info) => {
contextMenuBuilder.showPopupMenu(info);
});
The source code has some good useful comments.
Thanks will do.
I have read the docs as well as looked at the code, but I am still confused as to how to use the
ContextMenuBuilder.addInspectElement
method. I am trying this based on the quickstart code:Just not sure what menu I should be passing and when.