Support custom onMouseDown and onMouseMove event handlers

This commit is contained in:
Ash Wilson
2018-07-24 12:20:30 -04:00
parent c064c87188
commit fdf5d50196
3 changed files with 35 additions and 4 deletions

View File

@@ -15,6 +15,9 @@ module.exports = class Gutter {
this.labelFn = options && options.labelFn
this.className = options && options.class
this.onMouseDown = options && options.onMouseDown
this.onMouseMove = options && options.onMouseMove
this.emitter = new Emitter()
}