DD.Proxy

provide abilities for draggable tp create a proxy drag node, instead of dragging the original node.

parents: Base

defined in: proxy.js

Class

Attributes

  • destroyOnEnd {} destroy the proxy node at the end of this drag.
  • moveOnEnd {} move the original node at the end of the drag.
  • node {} how to get the proxy node.
  • proxyNode {} Current proxy node.

Methods

  • attachDrag (drag) make this draggable object can be proxied.
  • destroy () make all draggable object associated with this proxy object unproxied
  • detachDrag (drag) make this draggable object unproxied

Class Detail

  • DD.Proxy ()
    provide abilities for draggable tp create a proxy drag node, instead of dragging the original node.

Attributes Detail

  • destroyOnEnd destroy the proxy node at the end of this drag. default:false
  • moveOnEnd move the original node at the end of the drag. default:true
  • node how to get the proxy node. default:clone the node itself deeply.
  • proxyNode Current proxy node.

Methods Detail

  • attachDrag (drag) view source
    make this draggable object can be proxied.
    Parameters
  • destroy () view source
    make all draggable object associated with this proxy object unproxied
  • detachDrag (drag) view source
    make this draggable object unproxied
    Parameters
blog comments powered by Disqus
Top