Closed himadri-housiey closed 1 month ago
The simplest—although less elegant—method would be to create a separate CSS class for each hot spot. The cssClass
parameter can be a space-separated list of classes, so you could have a shared class and then only have separate classes for the rotation.
You could also use createTooltipFunc
/ createTooltipArgs
. In this case, the hot spot <div>
and the value of createTooltipArgs
are both passed to the function assigned to createTooltipFunc
, so you could assign the rotation values to createTooltipArgs
and write a function to set the rotation on the hot spot <div>
.
but i want like this
this is my code.
what can i add for this. I want to add rotate(---deg) rotateX(---deg) rotateY(---deg) rotateZ(---deg); each of the custom hotSpots rotation arrow angles separately. How can i do it?