aboutsummaryrefslogblamecommitdiff
path: root/src/shared/settings/properties.js
blob: f8e61a04d2df7cf97d2e8c1a36173938181718a2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                  
               
                      
                          
                     
  
                                        
                  
                                          
                      
                  
  
              
                                              
                                
                                                   

                                 
// 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 };