Hi i need to add a simple tooltip while firing element.hover event of task that contains a text for each task
thanks
Hi i need to add a simple tooltip while firing element.hover event of task that contains a text for each task
thanks
Please give a little bit more background. What did you try?
Thanks for the reply! Very much appreciated
I will try to explain more
we are trying to add tool tip like this
that contains ElementsLabel.Label
rather than this shape if the label text is large
thanks
You’d need to do two things:
BpmnRenderer
) for thisYou may react to the canvas being changed for repositioning the tooltip via the canvas.viewbox.changed
event. For good user experience, I suggest you to hide the tooltip during canvas moving (start indicated via canvas.viewbox.changing
event).
Hope this helps.
thanks alot i’ll try
I did something similar to this recently but also required the ability to have text with HTML tags in the popup. I used bootstrap tooltips (https://getbootstrap.com/docs/4.0/components/tooltips/) and it worked well for our situation.
I did it with the help of this link
by passing the canvas while firing element.hover