Skip to content

Commit 921ebf6

Browse files
committed
_keydown
1 parent 916c32e commit 921ebf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/list/selection-list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const _MdSelectionListMixinBase = mixinDisabled(MdSelectionListBase);
3838
'[attr.tabindex]': '_tabIndex',
3939
'class': 'mat-selection-list',
4040
'(focus)': 'focus()',
41-
'(keydown)': 'keydown($event)',
41+
'(keydown)': '_keydown($event)',
4242
'[attr.aria-disabled]': 'disabled.toString()'},
4343
template: '<ng-content></ng-content>',
4444
styleUrls: ['list.css'],
@@ -141,7 +141,7 @@ export class MdSelectionList extends _MdSelectionListMixinBase
141141
}
142142

143143
/** Passes relevant key presses to our key manager. */
144-
keydown(event: KeyboardEvent) {
144+
_keydown(event: KeyboardEvent) {
145145
switch (event.keyCode) {
146146
case SPACE:
147147
this._toggleSelectOnFocusedOption();

0 commit comments

Comments
 (0)