svelte-multiselect
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -35,3 +35,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
parseLabelsAsHtml?: boolean | undefined; | ||
placeholder?: string | undefined; | ||
placeholder?: string | null | undefined; | ||
removeAllTitle?: string | undefined; | ||
@@ -38,0 +38,0 @@ removeBtnTitle?: string | undefined; |
@@ -8,3 +8,3 @@ { | ||
"license": "MIT", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"type": "module", | ||
@@ -11,0 +11,0 @@ "svelte": "index.js", |
@@ -79,3 +79,3 @@ <h1 align="center"> | ||
1. ```ts | ||
activeIndex: integer | null = null | ||
activeIndex: number | null = null | ||
``` | ||
@@ -92,3 +92,3 @@ | ||
1. ```ts | ||
addOptionMsg: string = 'Create this option...' | ||
addOptionMsg: string = `Create this option...` | ||
``` | ||
@@ -99,3 +99,3 @@ | ||
1. ```ts | ||
allowUserOptions: boolean = false | ||
allowUserOptions: boolean | 'append' = false | ||
``` | ||
@@ -106,6 +106,6 @@ | ||
1. ```ts | ||
autocomplete: string = 'off' | ||
autocomplete: string = `off` | ||
``` | ||
Applied to the `<input>`. Specifies if browser is permitted to auto-fill this form field. See [MDN docs](https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete) for other admissible values. | ||
Applied to the `<input>`. Specifies if browser is permitted to auto-fill this form field. Should usually be one of `'on'` or `'off'` but see [MDN docs](https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete) for other admissible values. | ||
@@ -119,3 +119,3 @@ 1. ```ts | ||
1. ```ts | ||
breakpoint: integer = 800 | ||
breakpoint: number = 800 | ||
``` | ||
@@ -126,3 +126,3 @@ | ||
1. ```ts | ||
defaultDisabledTitle: string = 'This option is disabled' | ||
defaultDisabledTitle: string = `This option is disabled` | ||
``` | ||
@@ -139,3 +139,3 @@ | ||
1. ```ts | ||
disabledInputTitle: string = 'This input is disabled' | ||
disabledInputTitle: string = `This input is disabled` | ||
``` | ||
@@ -146,3 +146,3 @@ | ||
1. ```ts | ||
filterFunc: = (op: Option, searchText: string): boolean => { | ||
filterFunc = (op: Option, searchText: string): boolean => { | ||
if (!searchText) return true | ||
@@ -198,3 +198,3 @@ return `${get_label(op)}`.toLowerCase().includes(searchText.toLowerCase()) | ||
1. ```ts | ||
maxSelectMsg: (current: number, max: number): string = null | ||
maxSelectMsg: ((current: number, max: number) => string) | null = null | ||
``` | ||
@@ -215,3 +215,3 @@ | ||
1. ```ts | ||
noOptionsMsg: string = 'No matching options' | ||
noOptionsMsg: string = `No matching options` | ||
``` | ||
@@ -252,3 +252,3 @@ | ||
1. ```ts | ||
removeAllTitle: string = 'Remove all' | ||
removeAllTitle: string = `Remove all` | ||
``` | ||
@@ -259,3 +259,3 @@ | ||
1. ```ts | ||
removeBtnTitle: string = 'Remove' | ||
removeBtnTitle: string = `Remove` | ||
``` | ||
@@ -272,3 +272,3 @@ | ||
1. ```ts | ||
searchText: string = '' | ||
searchText: string = `` | ||
``` | ||
@@ -275,0 +275,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60317