| drag | ใช้กำหนด function ที่จะถูกเรียกใช้เมื่อ dialog กำลัง drag อยู่ |
|---|
config:drag
return type:function
content:ใช้กำหนด function ที่จะถูกเรียกใช้เมื่อ dialog กำลัง drag อยู่ โดยจะมี parameter 2 ตัว ได้แก่ event object และ object ที่มี property ต่างๆ
example:$("div#dialog").dialog ( { drag: function(event,object) { alert ( "dialog drag" ); } } );