Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « search_settings « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a49351dc7b0c2e94522db2ac6e22261bd5b670f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// We do not consider these nodes in the search index
export const EXCLUDED_NODES = ['OPTION'];

// Used to hide the sections that do not match * the search term
export const HIDE_CLASS = 'gl-display-none';

// used to highlight the text that matches the * search term
export const HIGHLIGHT_CLASS = 'gl-bg-orange-100';

// used to remove padding for text that matches the * search term
export const NONE_PADDING_CLASS = 'gl-p-0';

// How many seconds to wait until the user * stops typing
export const TYPING_DELAY = 400;