How to Write Your Own Custom Mouse UI Class In Vanilla JavaScript
JavaScript TeacherBlockedUnblockFollowFollowing
You can Follow me on Twitter to get tutorials, JavaScript tips, etc.

By making my own custom Mouse class I was able to build on top of it to implement all of the following completely custom UI controls — including the re-sizable and draggable toolbar itself.
So let’s dive in and see how we can do this.