Forum Discussion
angelflight
5 years agoFrequent Visitor
Issue implementing a context menu
I am trying to add a context menu to my visual, and I'm using the example provided here: https://github.com/microsoft/PowerBI-visuals/blob/gh-pages/tutorials/building-bar-chart/adding-context-men...
Greg_Deckler
5 years agoCommunity Champion
angelflight If I am reading that right, it's a type mistmatch situation. eventTarget is an EventTarget object and not a string. My guess is that you need to access an attribute of eventTarget like eventTarget.attribute ?