jquery.ui.draggable中文文档

2020-05-23 06:19:44易采站长站整理

                    </demo>
                    <demo>
                        <comment><![CDATA[动态的绑定事件. 动态绑定时候, 使用的事件名就是事件的类型.]]></comment>
                        <code><![CDATA[$(“.selector”).bind(‘dragstart’, function(event, ui) {
            alert(this);
        });]]></code>
                    </demo>
                </demos>
            </event>
            <event name=”drag”>
                <trigger><![CDATA[拖动过程中鼠标移动]]></trigger>
                <arguments>
                    <argument name=”event”>
                        <![CDATA[原生的浏览器事件.]]>
                    </argument>
                    <argument name=”ui”>
                        <![CDATA[JQuery的ui对象]]>
                    </argument>
                </arguments>
                <description><![CDATA[类型: drag]]></description>
                <demos>