« get me outta code hell

Make ScrollBar an independent and published class - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-10-17 12:57:24 -0300
committerFlorrie <towerofnix@gmail.com>2019-10-17 12:57:24 -0300
commit742d2543b88ad4cbb2fc9a859f093a57f32c1967 (patch)
tree9db69ace2691ee3fe8880800f7049ce4c22fb70c /index.js
parentf1cc65d376141fa5e76878ffd3da4392f8a7c747 (diff)
Make ScrollBar an independent and published class
It's no longer strictly connected to a ListScrollForm, and is published,
so it's much easier to use as an element from the tui-lib API in any
project now.
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index de4c680..b848814 100644
--- a/index.js
+++ b/index.js
@@ -16,6 +16,7 @@ module.exports = {
       FocusElement: require('./ui/form/FocusElement'),
       Form: require('./ui/form/Form'),
       ListScrollForm: require('./ui/form/ListScrollForm'),
+      ScrollBar: require('./ui/form/ScrollBar'),
       TextInput: require('./ui/form/TextInput')
     }
   },