How to add popup to each element

Hi I want to create custom popup onclick of each element can anyone please suggest?

Hi @shweta ,

sure - that is easily possible.

First you need to hook into the lifecycle using the eventBus. In particular you would be interested in the element.click event. See this example repo: interaction example.

Once a click was registered, you could use the overlay API to implement the popup you wish. See overlays example.

Best
Max

1 Like

Thank you
:slightly_smiling_face:

I am not sure show to achieve the same the angular components and its routing?
How to I call a typescript function inside an event?
image

Please do not necrobump old topics. Instead link to this thread from new topic.