Testing Ionic 4 - Tooltips needed for web apps
See original GitHub issueFeature Request
Ionic Info
C:\ae\adaept.com\ae-svg-components>ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.
Ionic:
ionic (Ionic CLI) : 4.0.1
System:
NodeJS : v8.11.1
npm : 6.2.0
OS : Windows 10
C:\ae\adaept.com\ae-svg-components>
Describe the Feature Request Tooltips needed for web apps. Option to turn on/off for mobile. Option to allow call to database for values.
Describe Preferred Solution Previous Ionic implementation here: https://github.com/zyra/ionic-tooltips I would like to be able to do this for web apps (PWA) using an interface with Stencil components.
Describe Alternatives https://www.npmjs.com/package/ionic-tooltips Problems: Tied to Angular. Not component based.
Related Code https://github.com/zyra/ionic-tooltips
Additional Context Related to this: https://github.com/ionic-team/ionic/issues/14862
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Testing Ionic 4 - Tooltips needed for web apps · Issue #14924
Our reasoning is that there are multiple tooltip projects that focus solely on tooltips and provide a lot of value. We recommend using...
Read more >(Ionic v4 + ionic-tooltips) -> Can't bind to 'ngIf' since it isn't a ...
I not fixed this issue, but I was able to use tooltips with Ionic v4 using other library, popperjs with the angular wrapper...
Read more >Just released: Tooltips Module for Ionic Apps - showcase
This module lets you add Tooltips to your app. These tooltips can help explain features to your users, or provide some sort of...
Read more >Angular and Ionic Agenda Custom event tooltip Example
Angular agenda with custom event tooltips. Show details, actions in context when hovering events. For Angular 14 and Ionic 6.
Read more >Adding Charts in Ionic 4 Apps and PWA : Part 1
Learn how to create a variety of charts in Ionic 4 apps and PWA using chart.js. Build your app on android or browser...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve put myself through the wringer for too long over finding a suitable, flexible, reliable, easily-implementable tooltip component for ionic/angular. Some pointers that’ll preserve fellow seekers some sanity:
I considered building one myself, but didn’t because, well, surely this problem has been solved by someone?..
Turns out it has, by popper.js, which is easily added to angular project with ngx-popper. The code isn’t as minimal as, say, matTooltip, but that’s forgivable because you can do everything, and very easily. An example from my code:
module.ts
html
The magic happens with ion-button popper attributes, which include specifications for:
And there’s a TON of other attributes and override options. The verdict: ngx-popper wins by a landslide.
For now.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.