| tolerance | ให้กำหนดลักษณะ การวาง ของ selectable-element ในกรณีที่สามารถวางบน element อื่นได้ |
|---|
config:tolerance
return type:string
content:ให้กำหนดลักษณะ การวาง ของ selectable-element ในกรณีที่สามารถวางบน element อื่นได้ โดยกำหนด ดังนี้ touch คือเมื่อโดนก็ถือว่า selectable แล้ว และ fit คือต้องตำแหน่งทับกันพอดีจึงจะถือว่า selectable (default=touch)
example:$("ul#selectable").selectable ( { tolerance: "touch" } );