mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(a11y): remove unnecessary ActiveDescendantKeyManager constructor (#4290)
It is inherited from `ListKeyManager` and `ActiveDescendantKeyManager` does nothing extra in it's constructor, so it is unnecessary.
This commit is contained in:
@@ -13,10 +13,6 @@ export interface Highlightable extends CanDisable {
|
||||
|
||||
export class ActiveDescendantKeyManager extends ListKeyManager<Highlightable> {
|
||||
|
||||
constructor(items: QueryList<Highlightable>) {
|
||||
super(items);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method sets the active item to the item at the specified index.
|
||||
* It also adds active styles to the newly active item and removes active
|
||||
|
||||
Reference in New Issue
Block a user