class SAPO.Ink.SortableList
Authors:
jose.p.dias AT co.sapo.pt
Version:
0.1 Adds sortable behaviour to any list!
Since:
October 2012
Defined in Ink/SortableList/0.1/lib.js

Constructor Summary
SortableList (String|DOMElement selector, Object options)

Function Summary
unregisters the component and removes its markup from the DOM
returns a copy of the model

Constructor Details

constructor SortableList

SortableList(String|DOMElement selector, Object options)
Parameters:
selector
options
  • [ String dragLabel ] what to display on the label. defaults to 'drag here'

Function Details

function destroy

destroy()
unregisters the component and removes its markup from the DOM

function getModel

String[] getModel()
returns a copy of the model