Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/dnd/Mover.js

  • Provides:

    • dojo.dnd.Mover
  • Requires:

    • dojo.dnd.common in common
    • dojo.dnd.autoscroll in common
  • dojo.dnd.Mover

    • type
      Function
    • parameters:
      • node: (typeof Node)
        a node (or node's id) to be moved
      • e: (typeof Event)
        a mouse event, which started the move;
        only pageX and pageY properties are used
      • host: (typeof Object)
        object which implements the functionality of the move,
        and defines proper events (onMoveStart and onMoveStop)
    • summary
      an object which makes a node follow the mouse, or touch-drag on touch devices.
      Used as a default mover, and as a base class for custom movers.
  • dojo.dnd.Mover.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • node: (typeof Node)
        a node (or node's id) to be moved
      • e: (typeof Event)
        a mouse event, which started the move;
        only pageX and pageY properties are used
      • host: (typeof Object)
        object which implements the functionality of the move,
        and defines proper events (onMoveStart and onMoveStop)
    • summary
      an object which makes a node follow the mouse, or touch-drag on touch devices.
      Used as a default mover, and as a base class for custom movers.
  • dojo.dnd.Mover.onMouseMove

    • parameters:
      • e: (typeof Event)
        mouse/touch event
    • summary
      event processor for onmousemove/ontouchmove
    • type
      Function
  • dojo.dnd.Mover.marginBox

    • type
      Object
  • dojo.dnd.Mover.onMouseUp

    • parameters:
      • e
    • type
      Function
  • dojo.dnd.Mover.onFirstMove

    • parameters:
      • e
    • summary
      makes the node absolute; it is meant to be called only once.
      relative and absolutely positioned nodes are assumed to use pixel units
    • type
      Function
  • dojo.dnd.Mover.node.style

  • dojo.dnd.Mover.host

    • optional
    • type
      Object
    • summary
      object which implements the functionality of the move,
      and defines proper events (onMoveStart and onMoveStop)
  • dojo.dnd.Mover.node.style.position

    • type
      String
  • dojo.dnd.Mover.marginBox.l

    • type
      Number
  • dojo.dnd.Mover.marginBox.t

    • type
      Number
  • dojo.dnd.Mover.destroy

    • summary
      stops the move, deletes all references, so the object can be garbage-collected
    • type
      Function
  • dojo.dnd.Mover.events

    • type
      Array
  • dojo.dnd.Mover.node

    • type
      Node
    • summary
      a node (or node's id) to be moved
      e: Event
      a mouse event, which started the move;
      only pageX and pageY properties are used
  • dojo.dnd.Mover.mouseButton

  • dojo.dnd

    • type
      Object
  • dojo

    • type
      Object