mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-07 08:22:21 +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;
|
noChoices?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface passedElement {
|
||||||
|
classNames: Choices.ClassNames,
|
||||||
|
element: HTMLElement,
|
||||||
|
isDisabled: boolean,
|
||||||
|
parentInstance: Choices;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Choices options interface
|
* Choices options interface
|
||||||
*
|
*
|
||||||
|
@ -660,8 +667,7 @@ export default class Choices {
|
||||||
currentValue: string;
|
currentValue: string;
|
||||||
|
|
||||||
// Element
|
// Element
|
||||||
element: HTMLElement
|
passedElement: Choices.passedElement;
|
||||||
passedElement: HTMLElement;
|
|
||||||
|
|
||||||
// Checks
|
// Checks
|
||||||
isTextElement: boolean;
|
isTextElement: boolean;
|
||||||
|
|
Loading…
Reference in a new issue