aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/properties.js
blob: 96f10ac22dffbc67acf3cd47cd94155e1f795c0f (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: 'sbn',
};

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

export { types, defaults, docs };