Clear Up
SharpKit Reference

SelectableOptions Class

Options JSON object for Selectable

Namespace: SharpKit.jQuery

Base Types

System.Object

Constructors

Name Description
SelectableOptions()

Properties

Name Description
autoRefresh This determines whether to refresh (recalculate) the position and size of each selectee at the beginning of each select operation. If you have many many items, you may want to set this to false and call the refresh method manually. Default: true
cancel Prevents selecting if you start on elements matching the selector. Default: ':input,option'
create This event is triggered when selectable is created.
delay Time in milliseconds to define when the selecting should start. It helps preventing unwanted selections when clicking on an element. Default: 0
disabled Disables (true) or enables (false) the droppable. Can be set when initialising (first creating) the droppable. Default:false
distance Tolerance, in pixels, for when selecting should start. If specified, selecting will not start until after mouse is dragged beyond distance. Default: 0
filter The matching child elements will be made selectees (able to be selected). Default: '*'
selected This event is triggered at the end of the select operation, on each element added to the selection.
selecting This event is triggered during the select operation, on each element added to the selection.
start This event is triggered at the beginning of the select operation.
stop This event is triggered at the end of the select operation.
tolerance Possible values: 'touch', 'fit'. fit: draggable overlaps the droppable entirely touch: draggable overlaps the droppable any amount Default: 'touch'
unselected This event is triggered at the end of the select operation, on each element removed from the selection.
unselecting This event is triggered during the select operation, on each element removed from the selection.
© Copyright 2005-2011 SharpKit. All rights reserved.