Robust resize handles / splitters for your HTML5 apps and websites
npm install resize-handledisplay: flex; box-sizing: border-box; container with two div children.
flex: 1; flex-basis: 0; and give it a min-width. Make sure to set the sidebar's width and min-width (or height, if vertical).
lib/ResizeHandle.js in your project and create the handle by calling new ResizeHandle(document.getElementById("#sidebar"), "right").
{ collapsable: true } as a third argument to enable double-click-to-collapse.
dragStart, drag and dragEnd events.
https://github.com/sparklinlabs/resize-handle and run npm install once
npm run build to build once or npm run watch to start a watcher that will rebuild when changes are detecting