UNPKG

887 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.FOCUS_NO_AUTOFOCUS = exports.FOCUS_AUTO = exports.FOCUS_ALLOW = exports.FOCUS_DISABLED = exports.FOCUS_GROUP = void 0;
4/**
5 * defines a focus group
6 */
7exports.FOCUS_GROUP = 'data-focus-lock';
8/**
9 * disables element discovery inside a group marked by key
10 */
11exports.FOCUS_DISABLED = 'data-focus-lock-disabled';
12/**
13 * allows uncontrolled focus within the marked area, effectively disabling focus lock for it's content
14 */
15exports.FOCUS_ALLOW = 'data-no-focus-lock';
16/**
17 * instructs autofocus engine to pick default autofocus inside a given node
18 * can be set on the element or container
19 */
20exports.FOCUS_AUTO = 'data-autofocus-inside';
21/**
22 * instructs autofocus to ignore elements within a given node
23 * can be set on the element or container
24 */
25exports.FOCUS_NO_AUTOFOCUS = 'data-no-autofocus';