@svelte-plugins/tooltips
Advanced tools
Comparing version
@@ -15,3 +15,3 @@ import Tooltip from './action-tooltip.svelte'; | ||
const config = { | ||
let config = { | ||
...props, | ||
@@ -105,4 +105,10 @@ targetElement: element | ||
} | ||
}, | ||
update(updatedProps) { | ||
Object.assign(config, updatedProps); | ||
if (component) { | ||
component.$set(config); | ||
} | ||
} | ||
}; | ||
}; |
{ | ||
"name": "@svelte-plugins/tooltips", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A simple tooltip action and component designed for Svelte.", |
@@ -15,3 +15,3 @@ import Tooltip from './action-tooltip.svelte'; | ||
const config = { | ||
let config = { | ||
...props, | ||
@@ -105,4 +105,10 @@ targetElement: element | ||
} | ||
}, | ||
update(updatedProps) { | ||
Object.assign(config, updatedProps); | ||
if (component) { | ||
component.$set(config); | ||
} | ||
} | ||
}; | ||
}; |
94965
0.29%1106
1.1%