Tippyjs: Official Preact, Vue, Angular, etc. Tippy.js Components

Created on 23 Aug 2018  路  7Comments  路  Source: atomiks/tippyjs

Thought Preact developers might find this little component I created useful.

I'd appreciate if you could add it into the README. :smiley:

https://github.com/molnarmark/preact-tippy
https://www.npmjs.com/package/preact-tippy

馃拵 enhancement

Most helpful comment

I've been working on a wrapper for Svelte 3. Will mention here when I'm done with it.

All 7 comments

Nice work 馃槃!

I'll be publishing an official React wrapper with v3 under @tippy.js/react, so it would be cool to have official wrappers for most of the front-end view libs. @tippy.js/preact, @tippy.js/vue, @tippy.js/hyperapp, etc.

I'be happy to maintain and create wrappers for other popular UI libraries. 馃憤

I've been working on a wrapper for Svelte 3. Will mention here when I'm done with it.

I'd be willing to pay someone to develop an open source wrapper for snabbdom https://github.com/snabbdom/snabbdom . (I believe this is what Vue.js uses internally for diff/patch vdom stuff)

I've been experimenting with different angular libraries for tippy, most with their positives and negatives, but all with one seemingly fatal flaw... that there doesn't appear to be a way to include live components within the tooltip itself.

I'm assuming this is because content html content is simply copied from wherever you define, to the div used to present the tippy.

For use as simple tooltips, that behavior is suitable. I personally would like to include angular components within the tippy popup itself.

I don't think there will be any official wrappers other than React's 馃憖

I've been experimenting with different angular libraries for tippy, most with their positives and negatives, but all with one seemingly fatal flaw... that there doesn't appear to be a way to include live components within the tooltip itself.

I'm assuming this is because content html content is simply copied from wherever you define, to the div used to present the tippy.

For use as simple tooltips, that behavior is suitable. I personally would like to include angular components within the tippy popup itself.

@ronnyek ... Were you able to find a work-around for this? I'm slowly replacing my site UI with Angular, and found Tippy after finding Popper. I've placed an Angular component within Tippy, but the tooltip shows up empty... @atomiks ... I realize this might should be in it's own thread, but I wanted to respond to the above person. Also, have you given thought to moving the DOM element instead of copying it? This has worked for me with other dynamic elements.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kearsan picture Kearsan  路  3Comments

divmgl picture divmgl  路  3Comments

mreinstein picture mreinstein  路  5Comments

Wyzix33 picture Wyzix33  路  4Comments

Neill83 picture Neill83  路  3Comments