showing button tooltip programmatically

UI Components for React
Post Reply
sancelot
Posts: 6
Joined: 01 Jul 2022, 09:52

20 Jan 2023, 12:58

Hi,
my button toooltip works well, but I would like to show it open, when I press some special keys.

Regards
Steph

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

21 Jan 2023, 19:28

Yes if you have a "ref" to the tooltip you can call the `show();` method to programatically show the tooltip.

See doc: https://github.com/primefaces/primereac ... p.d.ts#L71
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests