aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/properties.ts
blob: f8e61a04d2df7cf97d2e8c1a36173938181718a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// describe types of a propety as:
//    mystr: 'string',
//    mynum: 'number',
//    mybool: 'boolean',
const types = {
  hintchars: 'string',
  smoothscroll: 'boolean',
  complete: 'string',
};

// describe default values of a property
const defaults = {
  hintchars: 'abcdefghijklmnopqrstuvwxyz',
  smoothscroll: false,
  complete: 'sbh',
};

const docs = {
  hintchars: 'hint characters on follow mode',
  smoothscroll: 'smooth scroll',
  complete: 'which are completed at the open page',
};

export { types, defaults, docs };