jquery.ui.draggable中文文档

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

                        <code><![CDATA[$(‘.selector’).draggable(‘option’, ‘refreshPositions’, true);]]></code>
                    </demo>
                </demos>
            </option>
            <option name=”revert” default=”false”>
                <types>
                    <type name=”Boolean”>
                        <options>
                            <option>
                                <value><![CDATA[true]]></value>
                                <comment><![CDATA[每次拖动停止之后, 元素自动回到原始位置]]></comment>
                            </option>
                            <option>
                                <value><![CDATA[false]]></value>
                                <comment><![CDATA[拖动之后不会自动回到原始位置.]]></comment>
                            </option>
                        </options>