forked from WICG/spatial-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change finding candidates into finding focusable areas
By moving the stepts that take the direction and starting point into account from finding candidates to selecting the best one, the "finding candidates" method can be made more generic. This patches does that, and renames the relevant algorithm and API accordingly. This includes a convenience method to grab the nearest spatnav container ancestor. Closes WICG#31
- Loading branch information
Showing
1 changed file
with
36 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters