Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-multiselect

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-multiselect - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

34

package.json

@@ -8,3 +8,3 @@ {

"license": "MIT",
"version": "1.1.9",
"version": "1.1.10",
"type": "module",

@@ -16,23 +16,23 @@ "svelte": "MultiSelect.svelte",

"devDependencies": {
"@sveltejs/adapter-static": "^1.0.0-next.13",
"@sveltejs/kit": "^1.0.0-next.125",
"@sveltejs/adapter-static": "^1.0.0-next.16",
"@sveltejs/kit": "^1.0.0-next.146",
"@tsconfig/svelte": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.29.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"eslint": "^7.32.0",
"eslint-plugin-svelte3": "^3.2.0",
"hastscript": "^7.0.1",
"mdsvex": "^0.9.7",
"prettier": "^2.3.1",
"hastscript": "^7.0.2",
"mdsvex": "^0.9.8",
"prettier": "^2.3.2",
"prettier-plugin-svelte": "^2.3.1",
"rehype-autolink-headings": "^5.1.0",
"rehype-slug": "^4.0.1",
"svelte": "^3.38.2",
"svelte-check": "^2.2.2",
"rehype-autolink-headings": "^6.0.0",
"rehype-slug": "^5.0.0",
"svelte": "^3.42.1",
"svelte-check": "^2.2.4",
"svelte-preprocess": "^4.7.4",
"svelte-toc": "^0.1.7",
"svelte2tsx": "^0.4.1",
"tslib": "^2.3.0",
"svelte-toc": "^0.1.8",
"svelte2tsx": "^0.4.5",
"tslib": "^2.3.1",
"typescript": "^4.3.5",
"vite": "^2.3.8"
"vite": "^2.4.4"
},

@@ -39,0 +39,0 @@ "keywords": [

@@ -73,2 +73,19 @@ <div class="maybe-hide">

## Events
`MultiSelect.svelte` dispatches the following types of events:
- `on:add={(event) => console.log(event.detail.token)}`: Triggers when a new token is selected.
- `on:remove={(event) => console.log(event.detail.token)}`: Triggers when a selected token is removed.
- `on:change={(event) => console.log(event.detail.token)}`: Triggers when a new token is either added or removed.
- `on:blur={yourFunctionHere}`: Triggers when the input field looses focus.
Will add a section to the readme as well as a new event `on:change` that triggers for both `add` and `remove`.
Example:
```svelte
<MultiSelect on:change={(event) => alert(`You selected '${event.detail.token}'`)} />
```
## Want to contribute?

@@ -75,0 +92,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc