New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

@svelte-plugins/tooltips

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svelte-plugins/tooltips - npm Package Compare versions

Comparing version

to
0.1.2

{
"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