class type t =Inheritsobject
..end
method centerFrame : bool Js.t Js.prop
By default the frame is positioned exactly where the drag element is, so we use the cursor offset provided by Ext.dd.DD. Another option that works only if you do not have constraints on the obj is to have the drag frame centered around the cursor. Set centerFrame to true for this effect.
Defaults to: false
method resizeFrame : bool Js.t Js.prop
By default we resize the drag frame to be the same size as the element we want to drag (this is to get the frame effect). We can turn it off if we want a different behavior.
Defaults to: true
method applyConfig : unit Js.meth
Sets up config options specific to this class. Overrides Ext.dd.DragDrop, but all versions of this method through the inheritance chain are called
method b4MouseDown : 'a. 'a Js.t -> unit Js.meth
overrides Ext.dd.DragDrop
Event that fires prior to the onMouseDown event. Overrides Ext.dd.DragDrop.
Parameters:
_ Js.t
method createFrame : unit Js.meth
Creates the proxy element if it does not yet exist
method endDrag : Dom_html.event Js.t -> unit Js.meth
overrides Ext.dd.DragDrop By default we try to move the element to the last location of the frame. This is so that the default behavior mirrors that of Ext.dd.DD.
Called when we are done dragging the object
Parameters:
Dom_html.event Js.t
the mouseup event
method initFrame : unit Js.meth
Initialization for the drag frame element. Must be called in the constructor of all subclasses
method toString : Js.js_string Js.t Js.meth
toString method
Returns:
Js.js_string Js.t
string representation of the dd obj