Class type Ext_dd_DragTracker.configs


class type configs = object .. end
Inherits
method autoStart : 'a. 'a Js.t Js.prop

Specify true to defer trigger start by 1000 ms. Specify a Number for the number of milliseconds to defer trigger start.

Defaults to: false

method constrainTo : 'b. 'b Js.t Js.prop

A Region (Or an element from which a Region measurement will be read) which is used to constrain the result of the getOffset call.

This may be set any time during the DragTracker's lifecycle to set a dynamic constraining region.


method delegate : Js.js_string Js.t Js.prop

A DomQuery selector which identifies child elements within the DragTracker's encapsulating Element which are the tracked elements. This limits tracking to only begin when the matching elements are mousedowned.

This may also be a specific child element within the DragTracker's encapsulating element to use as the tracked element.


method overCls : Js.js_string Js.t Js.prop

A CSS class to add to the DragTracker's target element when the element (or, if the delegate option is used, when a delegate element) is mouseovered.

If the delegate option is used, these events fire only when a delegate element is entered of left.


method preventDefault : bool Js.t Js.prop

Specify false to enable default actions on onMouseDown events.

Defaults to: true

method stopEvent : bool Js.t Js.prop

Specify true to stop the mousedown event from bubbling to outer listeners from the target element (or its delegates).

Defaults to: false

method tolerance : Js.number Js.t Js.prop

Number of pixels the drag target must be moved before dragging is considered to have started.

Defaults to: 5

method trackOver : bool Js.t Js.prop

Set to true to fire mouseover and mouseout events when the mouse enters or leaves the target element.

This is implicitly set when an overCls is specified.

If the delegate option is used, these events fire only when a delegate element is entered of left.

Defaults to: false

method onBeforeStart : ((< autoStart : 'a. 'a Js.t Js.prop; constrainTo : 'b. 'b Js.t Js.prop;
delegate : Js.js_string Js.t Js.prop; listeners : 'e. 'e Js.t Js.prop;
onBeforeStart : 'c;
onDrag : ('d Js.t, Ext_EventObject.t Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
onEnd : ('d Js.t, Ext_EventObject.t Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
onStart : ('d Js.t, Ext_EventObject.t Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
overCls : Js.js_string Js.t Js.prop; preventDefault : bool Js.t Js.prop;
stopEvent : bool Js.t Js.prop; tolerance : Js.number Js.t Js.prop;
trackOver : bool Js.t Js.prop; .. >
as 'd)
Js.t, Ext_EventObject.t Js.t -> unit)
Js.meth_callback Js.writeonly_prop as 'c
See method t.onBeforeStart
method onDrag : ('d Js.t, Ext_EventObject.t Js.t -> unit) Js.meth_callback Js.writeonly_prop
See method t.onDrag
method onEnd : ('d Js.t, Ext_EventObject.t Js.t -> unit) Js.meth_callback Js.writeonly_prop
See method t.onEnd
method onStart : ('d Js.t, Ext_EventObject.t Js.t -> unit) Js.meth_callback Js.writeonly_prop
See method t.onStart