mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-26 09:20:26 +02:00
29 lines
507 B
JavaScript
29 lines
507 B
JavaScript
/**
|
|
* Filter types
|
|
*/
|
|
export const INPUT = 'input';
|
|
export const SELECT = 'select';
|
|
export const MULTIPLE = 'multiple';
|
|
export const CHECKLIST = 'checklist';
|
|
export const NONE = 'none';
|
|
|
|
/**
|
|
* Key codes
|
|
*/
|
|
export const ENTER_KEY = 13;
|
|
export const TAB_KEY = 9;
|
|
export const ESC_KEY = 27;
|
|
export const UP_ARROW_KEY = 38;
|
|
export const DOWN_ARROW_KEY = 40;
|
|
|
|
/**
|
|
* HTML tags
|
|
*/
|
|
export const HEADER_TAG = 'TH';
|
|
export const CELL_TAG = 'TD';
|
|
|
|
/**
|
|
* Numeric values
|
|
*/
|
|
export const AUTO_FILTER_DELAY = 750;
|