Class type Goog.​Fx.​dragListGroup

class type dragListGroup = object..end

Inherits


method addDragList : 
'a.
(#Dom_html.element as 'a) Js.t ->
dragListDirection ->
bool Js.t Js.opt -> Js.js_string Js.t Js.opt -> unit Js.meth

Adds a drag list to this DragListGroup. All calls to this method must happen before the call to init(). Remember that all child nodes (except text nodes) will be made draggable to any other drag list in this group.

method disposeInternal : unit Js.meth

Disposes of the DragListGroup.

method init : unit Js.meth

Performs the initial setup to make all items in all lists draggable.

method setCurrDragItemClass : Js.js_string Js.t -> unit Js.meth

Sets a user-supplied CSS class to add to the current drag item (during a drag action).

If not set, the default behavior adds visibility:hidden to the current drag item so that it is a block of empty space in the hover drag list (if any). If this class is set by the user, then the default behavior does not happen (unless, of course, the class also contains visibility:hidden).

method setDragItemHandleHoverClass : Js.js_string Js.t -> unit Js.meth

Sets a user-supplied CSS class to add to a drag item handle on hover (not during a drag action).

method setDragItemHoverClass : Js.js_string Js.t -> unit Js.meth

Sets a user-supplied CSS class to add to a drag item on hover (not during a drag action).

method setDraggerElClass : Js.js_string Js.t -> unit Js.meth

Sets a user-supplied CSS class to add to the clone of the current drag item that's actually being dragged around (during a drag action).

method setFunctionToGetHandlerForDragItem : 
'b 'c.
((#Dom_html.element as 'b) Js.t -> (#Dom_html.element as 'c) Js.t)
Js.callback -> unit Js.meth

Sets a user-supplied function used to get the "handle" element for a drag item. The function must accept exactly one argument. The argument may be any drag item element.

If not set, the default implementation uses the whole drag item as the handle.