2017-04-07 13:57:03 +00:00
|
|
|
const DATA_TRIGGER = 'data-dropdown-trigger';
|
|
|
|
const DATA_DROPDOWN = 'data-dropdown';
|
|
|
|
const SELECTED_CLASS = 'droplab-item-selected';
|
|
|
|
const ACTIVE_CLASS = 'droplab-item-active';
|
2017-04-19 21:18:39 +00:00
|
|
|
const IGNORE_CLASS = 'droplab-item-ignore';
|
2017-04-27 16:06:55 +00:00
|
|
|
// Matches `{{anything}}` and `{{ everything }}`.
|
|
|
|
const TEMPLATE_REGEX = /\{\{(.+?)\}\}/g;
|
2017-04-07 13:57:03 +00:00
|
|
|
|
|
|
|
export {
|
|
|
|
DATA_TRIGGER,
|
|
|
|
DATA_DROPDOWN,
|
|
|
|
SELECTED_CLASS,
|
|
|
|
ACTIVE_CLASS,
|
2017-04-12 07:11:12 +00:00
|
|
|
TEMPLATE_REGEX,
|
2017-04-19 21:18:39 +00:00
|
|
|
IGNORE_CLASS,
|
2017-04-07 13:57:03 +00:00
|
|
|
};
|