src/core/constant.js
exports.KEY = {
a: 65,
Backspace: 8,
Bottom: 40,
c: 67,
Cmd: 91,
Comma: 44, // ,
Delete: 46,
Enter: 13, // Enter
Esc: 27,
Left: 37,
Right: 39,
Semicolon: 59, // ;
Space: 32,
Tab: 9,
Top: 38,
x: 88,
};
exports.CLS = {
DRAGSTART: 'drag',
DROPZONE: 'dropzone',
};
exports.EV = {
BEFORE_REMOVE: 'before-remove',
BUBBLE_EDIT: 'bubble-edit',
BUBBLE_INPUT: 'bubble-input',
CHANGE: 'change',
DRAGEND: 'dragend',
DRAGENTER: 'dragenter',
DRAGLEAVE: 'dragleave',
DRAGSTART: 'dragstart',
DROP: 'drop',
READY: 'x-bubbles-ready',
};
exports.PROPS = {
BUBBLE_VALUE: '__bubble_value__',
CLICK_TIME: '__click_time__',
LOCAL_EVENTS: '__events__',
LOCK_COPY: '__lock_copy__',
OPTIONS: '__options__',
};