2015-04-06 18:38:11 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:05:54 +00:00
|
|
|
"ui/widgets/selectable"
|
2015-04-06 18:38:11 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "selectable", {
|
2012-04-19 17:03:21 +00:00
|
|
|
defaults: {
|
2012-12-26 13:08:48 +00:00
|
|
|
appendTo: "body",
|
2012-04-19 17:03:21 +00:00
|
|
|
autoRefresh: true,
|
2015-03-26 11:41:37 +00:00
|
|
|
cancel: "input, textarea, button, select, option",
|
2014-12-03 16:20:20 +00:00
|
|
|
classes: {},
|
2012-04-19 17:03:21 +00:00
|
|
|
delay: 0,
|
|
|
|
disabled: false,
|
|
|
|
distance: 0,
|
2012-12-26 13:08:48 +00:00
|
|
|
filter: "*",
|
2013-01-02 23:27:22 +00:00
|
|
|
tolerance: "touch",
|
|
|
|
|
|
|
|
// callbacks
|
|
|
|
create: null,
|
|
|
|
selected: null,
|
|
|
|
selecting: null,
|
|
|
|
start: null,
|
|
|
|
stop: null,
|
|
|
|
unselected: null,
|
|
|
|
unselecting: null
|
2012-04-19 17:03:21 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-06 18:38:11 +00:00
|
|
|
|
|
|
|
} );
|