Class type Goog.​Fx.​dragScrollSupport

class type dragScrollSupport = object..end

Inherits


method disposeInternal : unit Js.meth

Clean up listeners.

method onMouseMove : 'a. (#Goog.Events.event as 'a) Js.t -> unit Js.meth

Handler for mouse moves events.

method setConstrainScroll : bool Js.t -> unit Js.meth

Sets whether scrolling should be constrained to happen only when the cursor is inside the container node. NOTE: If a vertical margin is not set, then it does not make sense to contain the scroll, because in that case scroll will never be triggered.