diff --git a/src/index.js b/src/index.js index 1f388aa..65b01ab 100644 --- a/src/index.js +++ b/src/index.js @@ -3,4 +3,13 @@ import 'tippy.js/dist/tippy.css'; export default function(node, props) { tippy(node, props); + + return { + update(newProps) { + node._tippy.setProps(newProps); + }, + destroy() { + node._tippy.destroy(); + } + }; }