blob: a7ab5cf9add420bc81834549dce1fd0c9d2f16a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<script type="text/javascript">
var model = {
renderAt: '#containerDemo',
title: 'Selectable Demos',
demos: [
{
title: 'Selectable',
desc: 'With few lines of code you could have selectable elements. You can try more options on the fly!',
html: { url: 'templates/ui.selectable.data.html' },
destroy: '$("#selectable-example").selectable("destroy");',
options: [
{ desc: 'Make a simple selectable list', source: '$("#selectable-example").selectable();' },
{ desc: 'Tolerance touch', source: '$("#selectable-example").selectable({ tolerance: "touch" });' }
]
}
]
};
$(function(){
uiRenderDemo(model);
});
</script>
|