refactor(selection-list): avoid deprecated method (#15371)

* use `ListKeyManager`'s `updateActiveItem` instead of deprecated
  `updateActiveItemIndex`
This commit is contained in:
swseverance
2019-03-05 10:03:11 -05:00
committed by Joey Perrott
parent e130c5c27c
commit 14b4581036
+1 -1
View File
@@ -433,7 +433,7 @@ export class MatSelectionList extends _MatSelectionListMixinBase implements Focu
/** Sets the focused option of the selection-list. */
_setFocusedOption(option: MatListOption) {
this._keyManager.updateActiveItemIndex(this._getOptionIndex(option));
this._keyManager.updateActiveItem(option);
}
/**