@leanix/components 0.4.98 → 0.4.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,12 @@ export declare class MultiSelectComponent extends BaseSelectDirective implements
|
|
37
37
|
focus(): void;
|
38
38
|
focusAndOpen(): void;
|
39
39
|
ngAfterViewInit(): void;
|
40
|
-
|
40
|
+
/**
|
41
|
+
* Adds the given option to the selection and, by default, resets the input field.
|
42
|
+
* @param option The option to add to the selection.
|
43
|
+
* @param keepSearchQueryAndScrollPosition If true, the search query and scroll position of the dropdown will be kept, unless there are no options left.
|
44
|
+
*/
|
45
|
+
addItemToSelection(option: any, keepSearchQueryAndScrollPosition?: boolean): void;
|
41
46
|
removeItem(optionToRemove: MultiSelectRemoveItemEvent): void;
|
42
47
|
propagateChange(_value: any[]): void;
|
43
48
|
writeValue(value: any[]): void;
|