@svelte-plugins/tooltips
Advanced tools
Comparing version
{ | ||
"name": "@svelte-plugins/tooltips", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"license": "MIT", | ||
@@ -67,5 +67,5 @@ "description": "A simple tooltip action and component designed for Svelte.", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"svelte": "^3.35.0", | ||
"svelte": "^3.49.0", | ||
"svelte-loader": "^3.0.0" | ||
} | ||
} |
@@ -45,8 +45,9 @@ # @svelte-plugins/tooltips | ||
| :----------- | :------------------------------------------------------------------ | :---------------------------------------------- | | ||
| animation | The animation to apply to the tooltip | `string` (default: ``) | | ||
| arrow | If `false`, the tooltip arrow will not be shown. | `boolean` (default: `true`) | | ||
| autoPosition | Adjust tooltip position if viewport clipping occurs | `string` (default: `false`) | | ||
| content | The string or object containing componentref and props | `string` | `object` component (default: ``) | | ||
| arrow | If `false`, the tooltip arrow will not be shown. | `boolean` (default: `true`) | | ||
| animation | The animation to apply to the tooltip | `string` (default: ``) | | ||
| maxWidth | The max allowable width of the tooltip content | `number` (default: `200`) | | ||
| position | The position where the tooltip should appear relative to its parent | `string` (default: `top`) | | ||
| autoPosition | Adjust tooltip position if viewport clipping occurs | `string` (default: `false`) | | ||
| theme | The CSS theme class name | `string` (default: ``) | | ||
@@ -53,0 +54,0 @@ #### Using components as content |
141274
0.09%75
1.35%