class type t =Inheritsobject
..end
method getGhost : Ext_dom_Element.t Js.t Js.meth
Returns the ghost element
Returns:
Ext_dom_Element.t Js.t
el
method hide_proxy : bool Js.t -> unit Js.meth
Hides the proxy
Parameters:
bool Js.t
True to reset the status and clear the ghost contents, false to preserve them
method repair : 'a 'b.
Js.number Js.t Js.js_array Js.t ->
'a Js.callback -> 'b Js.t -> unit Js.meth
Causes the proxy to return to its position of origin via an animation. Should be called after an invalid drop operation by the item being dragged.
Parameters:
Js.number Js.t Js.js_array Js.t
The XY position of the element ([x, y])
_ Js.callback
The function to call after the repair is complete.
_ Js.t
The scope (this
reference) in which the callback function is executed.
Defaults to the browser window.
method reset : bool Js.t -> unit Js.meth
Resets the status indicator to the default dropNotAllowed value
Parameters:
bool Js.t
True to also remove all content from the ghost, false to preserve it
method setStatus : Js.js_string Js.t -> unit Js.meth
Updates the proxy's visual element to indicate the status of whether or not drop is allowed over the current target element.
Parameters:
Js.js_string Js.t
The css class for the new drop status indicator image
method stop : unit Js.meth
Stops the repair animation if it's currently running
method sync : unit Js.meth
Force the Layer to sync its shadow and shim positions to the element
method update_html : 'c. 'c Js.t -> unit Js.meth
Updates the contents of the ghost element
Parameters:
_ Js.t
The html that will replace the current innerHTML of the ghost element, or a DOM node to append as the child of the ghost element (in which case the innerHTML will be cleared first).