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/Moveable.js

  • Provides:

    • dojo.dnd.Moveable
  • Requires:

    • dojo.dnd.Mover in common
  • dojo.dnd.__MoveableArgs

    • type
      Function
  • dojo.dnd.__MoveableArgs.handle

    • type
      Node||String
    • summary
      A node (or node's id), which is used as a mouse handle.
      If omitted, the node itself is used as a handle.
  • dojo.dnd.__MoveableArgs.delay

    • type
      Number
    • summary
      delay move by this number of pixels
  • dojo.dnd.__MoveableArgs.skip

    • type
      Boolean
    • summary
      skip move of form elements
  • dojo.dnd.__MoveableArgs.mover

    • alias - dojo.dnd.Mover
    • type
      Object
    • summary
      a constructor of custom Mover
  • dojo.dnd.Moveable

    • type
      Function
    • parameters:
      • node: (typeof Node)
        a node (or node's id) to be moved
      • params: (typeof dojo.dnd.__MoveableArgs)
        optional parameters
    • summary
      an object, which makes a node moveable
  • dojo.dnd.Moveable.handle

    • type
      Object
  • dojo.dnd.Moveable.delay

    • type
      Number
  • dojo.dnd.Moveable.skip

    • type
      bool
  • dojo.dnd.Moveable.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • node: (typeof Node)
        a node (or node's id) to be moved
      • params: (typeof dojo.dnd.__MoveableArgs)
        optional parameters
    • summary
      an object, which makes a node moveable
  • dojo.dnd.Moveable.markupFactory

    • parameters:
      • params
      • node
    • type
      Function
  • dojo.dnd.Moveable.destroy

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

    • type
      Array
  • dojo.dnd.Moveable.node

    • type
      Node
    • summary
      a node (or node's id) to be moved
      params: dojo.dnd.__MoveableArgs?
      optional parameters
  • dojo.dnd.Moveable.onMouseDown

    • parameters:
      • e: (typeof Event)
        mouse/touch event
    • summary
      event processor for onmousedown/ontouchstart, creates a Mover for the node
    • type
      Function
  • dojo.dnd.Moveable._lastX

  • dojo.dnd.Moveable._lastY

  • dojo.dnd.Moveable.onMouseMove

    • parameters:
      • e: (typeof Event)
        mouse/touch event
    • summary
      event processor for onmousemove/ontouchmove, used only for delayed drags
    • type
      Function
  • dojo.dnd.Moveable.onMouseUp

    • parameters:
      • e: (typeof Event)
        mouse event
    • summary
      event processor for onmouseup, used only for delayed drags
    • type
      Function
  • dojo.dnd.Moveable.onSelectStart

    • parameters:
      • e: (typeof Event)
        mouse event
    • summary
      event processor for onselectevent and ondragevent
    • type
      Function
  • dojo.dnd.Moveable.onDragDetected

    • parameters:
      • e: (typeof Event)
    • summary
      called when the drag is detected;
      responsible for creation of the mover
    • type
      Function
  • dojo.dnd.Moveable.onMoveStart

    • parameters:
      • mover: (typeof dojo.dnd.Mover)
    • summary
      called before every move operation
    • type
      Function
  • dojo.dnd.Moveable.onMoveStop

    • parameters:
      • mover: (typeof dojo.dnd.Mover)
    • summary
      called after every move operation
    • type
      Function
  • dojo.dnd.Moveable.onFirstMove

    • parameters:
      • mover: (typeof dojo.dnd.Mover)
      • e: (typeof Event)
    • summary
      called during the very first move notification;
      can be used to initialize coordinates, can be overwritten.
    • type
      Function
  • dojo.dnd.Moveable.onMove

    • parameters:
      • mover: (typeof dojo.dnd.Mover)
      • leftTop: (typeof Object)
      • e: (typeof Event)
    • summary
      called during every move notification;
      should actually move the node; can be overwritten.
    • type
      Function
  • dojo.dnd.Moveable.onMoving

    • parameters:
      • mover: (typeof dojo.dnd.Mover)
      • leftTop: (typeof Object)
    • summary
      called before every incremental move; can be overwritten.
    • type
      Function
  • dojo.dnd.Moveable.onMoved

    • parameters:
      • mover: (typeof dojo.dnd.Mover)
      • leftTop: (typeof Object)
    • summary
      called after every incremental move; can be overwritten.
    • type
      Function
  • dojo.dnd.Moveable.mover

  • dojo.dnd

    • type
      Object
  • dojo

    • type
      Object