aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/properties.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/settings/properties.ts')
-rw-r--r--src/shared/settings/properties.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/shared/settings/properties.ts b/src/shared/settings/properties.ts
new file mode 100644
index 0000000..f8e61a0
--- /dev/null
+++ b/src/shared/settings/properties.ts
@@ -0,0 +1,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 };