mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-04 06:43:15 +02:00
add clearChoices typings (#717)
This commit is contained in:
parent
9504cfcec5
commit
2b8acc5f37
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…
Reference in a new issue