diff --git a/lib/src/interfaces/interfaces.ts b/lib/src/interfaces/interfaces.ts index d06ed4afb..c9ed9bcf6 100644 --- a/lib/src/interfaces/interfaces.ts +++ b/lib/src/interfaces/interfaces.ts @@ -18,7 +18,6 @@ export interface HtmlStruct { export interface OptionRowData { text: string; value: string | number | boolean; - html?: HTMLElement; classes?: string; divider?: string; disabled?: boolean; diff --git a/lib/src/interfaces/multipleSelectOption.interface.ts b/lib/src/interfaces/multipleSelectOption.interface.ts index 38d2b129f..93d372863 100644 --- a/lib/src/interfaces/multipleSelectOption.interface.ts +++ b/lib/src/interfaces/multipleSelectOption.interface.ts @@ -193,10 +193,10 @@ export interface MultipleSelectOption extends MultipleSelectLocale { styler: (value: OptionRowData | OptGroupRowData) => string | boolean | null; /** Returns HTML label attribute of a DOM element */ - labelTemplate: (elm: any) => string; + labelTemplate: (elm: HTMLOptionElement) => string; - /** Returns HTML text template of a DOM element */ - textTemplate: (elm: any) => string; + /** Returns HTML text template of a DOM element as a string */ + textTemplate: (elm: HTMLOptionElement) => string; // -- // Events