Skip to content

Commit

Permalink
Update README to document getPreviousFocusableAncestor (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
apalaniuk authored Oct 3, 2016
1 parent a3198b9 commit ce7bd6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ D2L.Dom.Focus.getNextFocusable(element);
// get the previous focusable child, sibling, etc.
D2L.Dom.Focus.getPreviousFocusable(element);

// get the nearest focusable ancestor
D2L.Dom.Focus.getPreviousFocusableAncestor(element);

// check is focusable (tabindex or white-listed elements)
D2L.Dom.Focus.isFocusable(element);
```
Expand Down

0 comments on commit ce7bd6e

Please sign in to comment.