Skip to content

Commit c26c1f2

Browse files
author
Bart van den Ende
committed
make all methods in navigation.service public so they can be accessed when the class is extended
1 parent dc72d0f commit c26c1f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/navigation.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class NavigationService {
7979
}
8080

8181
// try to find focusable element on mouse hover or click
82-
private findFocusable(target: Element): FocusElement | undefined {
82+
findFocusable(target: Element): FocusElement | undefined {
8383
// inside loop search for focusable element
8484
// we need this if the focusable element has children inside
8585
// so e.target can point to child or grandchild of focusable element
@@ -95,7 +95,7 @@ export class NavigationService {
9595
}
9696

9797
// action a new spatial navigation action
98-
private spatialNavigationAction(action: NavigationServiceDirection) {
98+
spatialNavigationAction(action: NavigationServiceDirection) {
9999
let el = this.getFocusElementInFocus();
100100

101101
let keyValue = NavigationServiceDirection[action];

0 commit comments

Comments
 (0)