mirror of
https://github.com/Choices-js/Choices.git
synced 2026-03-14 14:45:47 +01:00
add clearChoices typings (#717)
This commit is contained in:
parent
9504cfcec5
commit
2b8acc5f37
1 changed files with 7 additions and 0 deletions
7
types/index.d.ts
vendored
7
types/index.d.ts
vendored
|
|
@ -949,6 +949,13 @@ export default class Choices {
|
|||
replaceChoices?: boolean,
|
||||
): this;
|
||||
|
||||
/**
|
||||
* Clear all choices from select.
|
||||
*
|
||||
* **Input types affected:** select-one, select-multiple
|
||||
*/
|
||||
clearChoices(): this;
|
||||
|
||||
/**
|
||||
* Removes all items, choices and groups. Use with caution.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue