GridLayoutHandler - v0.3

Documentation for a historical release of Infusion: 1.3
Please view the Infusion Documentation site for the latest documentation.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

GridLayoutHandler - v0.3

findItems

A set of key/value pairs that provide a number of functions as follows:

Name

Description

Name

Description

movables

A function that returns a list of all elements within the document that are to be movable by the Reorderer. (required)

selectables

A function that returns a list of all elements within the document that can be cycled through by the Reorderer.

dropTargets

A function that returns a list of all elements within the document that can be a drop target for items in the Reorderer.

grabHandle

A function that takes an item and returns the part of the item that can be used to pick up the item.

options (optional)

An optional set of key/value pairs that configure the Layout Handler. The options for the GridLayoutHandler are:

Name

Description

Value

Default

Name

Description

Value

Default

orderChangedCallback

A function to be called each time the order of items has changed, to communicate the new order to the server. For a detailed explanation of the order-changed callback, see Order-Changed Callback - v0.3.

 

function() {};