Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « tabs « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90c9a89d65291688b3fb1c0a26282686a2b755c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export const ACTIVE_TAB_CLASSES = Object.freeze(['active', 'gl-tab-nav-item-active']);

export const ACTIVE_PANEL_CLASS = 'active';

export const KEY_CODE_LEFT = 'ArrowLeft';
export const KEY_CODE_UP = 'ArrowUp';
export const KEY_CODE_RIGHT = 'ArrowRight';
export const KEY_CODE_DOWN = 'ArrowDown';

export const ATTR_ARIA_CONTROLS = 'aria-controls';
export const ATTR_ARIA_LABELLEDBY = 'aria-labelledby';
export const ATTR_ARIA_SELECTED = 'aria-selected';
export const ATTR_ROLE = 'role';
export const ATTR_TABINDEX = 'tabindex';

export const TAB_SHOWN_EVENT = 'gl-tab-shown';