Draggable

Draggable

A UI utility to make an element draggable.

Constructor

new Draggable()

Source:

Members

_moveTime :number

Source:

Throttle mousemove event handling to 60fps

Type:
  • number

handlers :Object

Source:

Remember event handlers associated with this Draggable class so they may be later unregistered

Type:
  • Object

position :Object

Source:

Duplicate the application's starting position to track differences

Type:
  • Object

Methods

activateListeners()

Source:

Activate event handling for a Draggable application Attach handlers for floating, dragging, and resizing