mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 13:06:34 +02:00
New interface for passedElement
This commit is contained in:
parent
06e18c528e
commit
4d5ab91a72
10
types/index.d.ts
vendored
10
types/index.d.ts
vendored
|
@ -173,6 +173,13 @@ declare namespace Choices {
|
|||
noChoices?: string;
|
||||
}
|
||||
|
||||
interface passedElement {
|
||||
classNames: Choices.ClassNames,
|
||||
element: HTMLElement,
|
||||
isDisabled: boolean,
|
||||
parentInstance: Choices;
|
||||
}
|
||||
|
||||
/**
|
||||
* Choices options interface
|
||||
*
|
||||
|
@ -660,8 +667,7 @@ export default class Choices {
|
|||
currentValue: string;
|
||||
|
||||
// Element
|
||||
element: HTMLElement
|
||||
passedElement: HTMLElement;
|
||||
passedElement: Choices.passedElement;
|
||||
|
||||
// Checks
|
||||
isTextElement: boolean;
|
||||
|
|
Loading…
Reference in a new issue