Update documentation

This commit is contained in:
Dmitry Lyzo 2020-03-31 18:59:12 +03:00
parent 1646687773
commit a1cc977872
3 changed files with 125 additions and 81 deletions

View file

@ -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()) {