-
Notifications
You must be signed in to change notification settings - Fork 136
Allow different positions by using HTML data attribute #170
Copy link
Copy link
Open
Labels
FeatureSoftware improvements that involve implementing new features.Software improvements that involve implementing new features.
Description
It would be great if we could initialize powertip across multiple tooltips, but have their placement determined by an HTML data attribute.
Is there a way currently I can implement this? I tried using the powerTipPreRender event, but that only allows me to modify the element the tip is tied to.
Ex:
<span class="tooltips" data-powertiptarget="myToolTipNE" data-powertipPosition="ne">Northeast positioning</span>
<span class="tooltips" data-powertiptarget="myToolTipS" data-powertipPosition="s">South positioning</span>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureSoftware improvements that involve implementing new features.Software improvements that involve implementing new features.