* Get the sublist of values that do not represent valid option values in this listbox. * @param values The list of values * @return The sublist of values that are not valid option values
(values: readonly T[])
| 1042 | * @return The sublist of values that are not valid option values |
| 1043 | */ |
| 1044 | private _getInvalidOptionValues(values: readonly T[]) { |
| 1045 | const isEqual = this.compareWith || Object.is; |
| 1046 | const validValues = (this.options || []).map(option => option.value); |
| 1047 | return values.filter(value => !validValues.some(validValue => isEqual(value, validValue))); |
| 1048 | } |
| 1049 | |
| 1050 | /** Get the index of the last triggered option. */ |
| 1051 | private _getLastTriggeredIndex() { |
no test coverage detected