@types/selectize 0.12.39 → 0.12.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- selectize/README.md +1 -1
- selectize/index.d.ts +28 -3
- selectize/package.json +4 -3
selectize/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for selectize (https://github.com/brianre
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectize.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 09 Sep 2026 17:32:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
selectize/index.d.ts
CHANGED
|
@@ -406,6 +406,16 @@ declare namespace Selectize {
|
|
|
406
406
|
|
|
407
407
|
// see https://github.com/brianreavis/selectize.js/blob/master/docs/api.md
|
|
408
408
|
interface IApi<T, U> {
|
|
409
|
+
/**
|
|
410
|
+
* The original input element the control was created from.
|
|
411
|
+
*/
|
|
412
|
+
$input: JQuery;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* The settings the control was initialized with, merged with the defaults.
|
|
416
|
+
*/
|
|
417
|
+
settings: IOptions<T, U>;
|
|
418
|
+
|
|
409
419
|
/**
|
|
410
420
|
* An array of selected values.
|
|
411
421
|
*/
|
|
@@ -434,12 +444,12 @@ declare namespace Selectize {
|
|
|
434
444
|
/**
|
|
435
445
|
* Removes the option identified by the given value.
|
|
436
446
|
*/
|
|
437
|
-
removeOption(value: T): void;
|
|
447
|
+
removeOption(value: T, silent?: boolean): void;
|
|
438
448
|
|
|
439
449
|
/**
|
|
440
450
|
* Removes all options from the control.
|
|
441
451
|
*/
|
|
442
|
-
clearOptions(): void;
|
|
452
|
+
clearOptions(silent?: boolean): void;
|
|
443
453
|
|
|
444
454
|
/**
|
|
445
455
|
* Retrieves the jQuery element for the option identified by the given value.
|
|
@@ -475,6 +485,11 @@ declare namespace Selectize {
|
|
|
475
485
|
*/
|
|
476
486
|
addItem(value: T, silent?: boolean): void;
|
|
477
487
|
|
|
488
|
+
/**
|
|
489
|
+
* "Selects" multiple items at once. Adds them to the list at the current caret position.
|
|
490
|
+
*/
|
|
491
|
+
addItems(values: T | T[], silent?: boolean): void;
|
|
492
|
+
|
|
478
493
|
/**
|
|
479
494
|
* Removes the selected item matching the provided value.
|
|
480
495
|
*/
|
|
@@ -489,7 +504,7 @@ declare namespace Selectize {
|
|
|
489
504
|
/**
|
|
490
505
|
* Re-renders the selected item lists.
|
|
491
506
|
*/
|
|
492
|
-
refreshItems(): void;
|
|
507
|
+
refreshItems(silent?: boolean): void;
|
|
493
508
|
|
|
494
509
|
// Optgroups
|
|
495
510
|
// ------------------------------------------------------------------------------------------------------------
|
|
@@ -500,6 +515,16 @@ declare namespace Selectize {
|
|
|
500
515
|
*/
|
|
501
516
|
addOptionGroup(id: string, data: U): void;
|
|
502
517
|
|
|
518
|
+
/**
|
|
519
|
+
* Removes the existing optgroup identified by the given id.
|
|
520
|
+
*/
|
|
521
|
+
removeOptionGroup(id: string): void;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Removes all existing optgroups from the control.
|
|
525
|
+
*/
|
|
526
|
+
clearOptionGroups(): void;
|
|
527
|
+
|
|
503
528
|
// Events
|
|
504
529
|
// ------------------------------------------------------------------------------------------------------------
|
|
505
530
|
|
selectize/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/selectize",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.41",
|
|
4
4
|
"description": "TypeScript definitions for selectize",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selectize",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {},
|
|
27
27
|
"dependencies": {},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"peerDependencies": {},
|
|
29
|
+
"typesPublisherContentHash": "f98fd32a3c28f335fb2037ffea128f8d55c9631ef505111635c2ea6a606f6e66",
|
|
30
|
+
"typeScriptVersion": "5.6"
|
|
30
31
|
}
|