How can I make pTooltip work for mobile devices which don't support the hover event?
If it's a tooltip in an input field I can change the trigger event to focus, but what about tooltips which are not embedded in form controls?
Make pTooltip work for mobile devices
-
- Posts: 1
- Joined: 09 Nov 2022, 12:18
You could simply use the toottipEvent="focus".
Then the msg shows when you have have the input field selected.
<input pTooltip="I' working on mobile!" tooltipEvent="focus" />
Then the msg shows when you have have the input field selected.
<input pTooltip="I' working on mobile!" tooltipEvent="focus" />
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests