Provides properties and methods to create a translatable select list to select multiple option.
class TranslatableOptionList {
constructor( translate: TranslationService, key: string );
readonly selectedCount: number;
selectedIndeces: Array< number >;
selectedValues: Array< string >;
readonly selectedTexts: Array< string >;
readonly selectedItem: Array< TranslatableOption >;
setState( value: string, selected: boolean ): void;
selectAll(): void;
deselectAll(): void;
next(): IteratorResult< TranslatableOption >;
[Symbol.iterator](): IterableIterator< TranslatableOption >;
}
Creates a new instance of the select list.
Gets the count of the selected items.
Gets or sets the indeces of the selected items.
Gets or sets the values of the selected items.
Gets the translated texts of the selected items.
Gets the selected items.
Selects all items.
Deselects all items.
Returns the next iterator result.
Returns the iterator of the list.