Skip to content

Commit 3f05286

Browse files
epelcmmalerba
authored andcommitted
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.
1 parent 24a762f commit 3f05286

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/core/a11y/activedescendant-key-manager.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ export interface Highlightable extends CanDisable {
1313

1414
export class ActiveDescendantKeyManager extends ListKeyManager<Highlightable> {
1515

16-
constructor(items: QueryList<Highlightable>) {
17-
super(items);
18-
}
19-
2016
/**
2117
* This method sets the active item to the item at the specified index.
2218
* It also adds active styles to the newly active item and removes active

0 commit comments

Comments
 (0)