Composable contants that are common in the project - DRY
This is not all of them, just those that were found during the select rework.
This commit is contained in:
parent
899ad697b0
commit
20eddc614d
1 changed files with 53 additions and 0 deletions
53
src/utils/constants.js
Normal file
53
src/utils/constants.js
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
export const ARROW = 'arrow';
|
||||||
|
export const APPEND = 'append';
|
||||||
|
export const AUTO = 'auto';
|
||||||
|
export const BODY = 'body';
|
||||||
|
export const BOTTOM = 'bottom';
|
||||||
|
export const CHANGE = 'change';
|
||||||
|
export const CLEAR = 'clear';
|
||||||
|
export const CLOSE = 'close';
|
||||||
|
export const COMPLETE = 'complete';
|
||||||
|
export const DEFAULT = 'default';
|
||||||
|
export const DESTROY = 'destroy';
|
||||||
|
export const DISABLED = 'disabled';
|
||||||
|
export const DOWN = 'down';
|
||||||
|
export const DROPDOWN = 'dropdown';
|
||||||
|
export const EMPTY_STRING = '';
|
||||||
|
export const FOCUS = 'focus';
|
||||||
|
export const FOCUSED = 'focused';
|
||||||
|
export const FORM = 'form';
|
||||||
|
export const FOUND = 'found';
|
||||||
|
export const GROUP = 'group';
|
||||||
|
export const INPUT = 'input';
|
||||||
|
export const ITEM = 'item';
|
||||||
|
export const IVU = 'ivu';
|
||||||
|
export const LARGE = 'large';
|
||||||
|
export const LIST = 'list';
|
||||||
|
export const LOADING = 'loading';
|
||||||
|
export const MULTIPLE = 'multiple';
|
||||||
|
export const NEXT = 'next';
|
||||||
|
export const NONE = 'none';
|
||||||
|
export const NOT = 'not';
|
||||||
|
export const ON = 'on';
|
||||||
|
export const PLACEHOLDER = 'placeholder';
|
||||||
|
export const POPPER = 'popper';
|
||||||
|
export const PREV = 'prev';
|
||||||
|
export const QUERY = 'query';
|
||||||
|
export const REMOVE = 'remove';
|
||||||
|
export const SELECT = 'select';
|
||||||
|
export const SELECTED = 'selected';
|
||||||
|
export const SELECTION = 'selection';
|
||||||
|
export const SHOW = 'show';
|
||||||
|
export const SINGLE = 'single';
|
||||||
|
export const SLIDE = 'slide';
|
||||||
|
export const SMALL = 'small';
|
||||||
|
export const START = 'start';
|
||||||
|
export const TITLE = 'title';
|
||||||
|
export const TOP = 'top';
|
||||||
|
export const TRANSFER = 'transfer';
|
||||||
|
export const UP = 'up';
|
||||||
|
export const UPDATE = 'update';
|
||||||
|
export const VALUE = 'value';
|
||||||
|
export const VISIBLE = 'visible';
|
||||||
|
export const WIDTH = 'width';
|
||||||
|
export const WRAP = 'wrap';
|
Loading…
Add table
Reference in a new issue