BigW Consortium Gitlab

constants.js 426 Bytes
Newer Older
Luke "Jared" Bennett committed
1 2 3 4
const DATA_TRIGGER = 'data-dropdown-trigger';
const DATA_DROPDOWN = 'data-dropdown';
const SELECTED_CLASS = 'droplab-item-selected';
const ACTIVE_CLASS = 'droplab-item-active';
5
const IGNORE_CLASS = 'droplab-item-ignore';
6 7
// Matches `{{anything}}` and `{{ everything }}`.
const TEMPLATE_REGEX = /\{\{(.+?)\}\}/g;
Luke "Jared" Bennett committed
8 9 10 11 12 13

export {
  DATA_TRIGGER,
  DATA_DROPDOWN,
  SELECTED_CLASS,
  ACTIVE_CLASS,
14
  TEMPLATE_REGEX,
15
  IGNORE_CLASS,
Luke "Jared" Bennett committed
16
};