DEV Community

Discussion on: 🚀 Svelte Quick Tip: Create a tooltip action using Tippy.js

Collapse
 
rhpaiva profile image
Rodrigo Paiva

Very nice tutorial. Thanks!

I just think you missed the correct props here, no? newParams <> params

update: (newParams) => tip.setProps({ content, ...params }),
Enter fullscreen mode Exit fullscreen mode
Collapse
 
danawoodman profile image
Dana Woodman

Ah good catch, let me fix! 🍻

Collapse
 
rhpaiva profile image
Rodrigo Paiva

I just tested this and it the old params are also updated. Svelte rookie here still learning :D