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: