Update documentation
This commit is contained in:
parent
1646687773
commit
a1cc977872
3 changed files with 125 additions and 81 deletions
|
@ -21,7 +21,7 @@ import layoutManager from "layoutManager";
|
|||
}
|
||||
|
||||
/**
|
||||
* Start AutoFocuser
|
||||
* Start AutoFocuser.
|
||||
*/
|
||||
export function enable() {
|
||||
if (!isEnabled()) {
|
||||
|
@ -37,8 +37,8 @@ import layoutManager from "layoutManager";
|
|||
|
||||
/**
|
||||
* Set focus on a suitable element, taking into account the previously selected.
|
||||
* @param {HTMLElement} [container] - element to limit scope
|
||||
* @returns {HTMLElement} focused element
|
||||
* @param {HTMLElement} [container] - Element to limit scope.
|
||||
* @returns {HTMLElement} Focused element.
|
||||
*/
|
||||
export function autoFocus(container) {
|
||||
if (!isEnabled()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue