We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad91ad commit bc37551Copy full SHA for bc37551
src/action.js
@@ -12,7 +12,7 @@ export const tooltip = (element, props) => {
12
}
13
};
14
15
- const config = {
+ let config = {
16
...props,
17
targetElement: element
18
@@ -101,6 +101,12 @@ export const tooltip = (element, props) => {
101
if (title) {
102
element.setAttribute('title', title);
103
104
+ },
105
+ update(updatedProps) {
106
+ Object.assign(config, updatedProps);
107
+ if (component) {
108
+ component.$set(config);
109
+ }
110
111
112
0 commit comments