You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dagron

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dagron

an HTML5 Drag and Drop library for Ender

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

Ender interface to HTML5 Drag and Droppables

Works like this

$('div.draggables').dagron({
    // all options are 'optional', no pun intended
    handle: 'div.handle'
  , target: 'div.droptarget'
  , start: function (el) {
      // el is the item you started dragging
    }
  , drag: function (el) {
      // el is dragged element
    }
  , drop: function (el) {
      // el is the target the dragged item was dropped on
    }
  , enter: function (el) {
      // el is the element target you entered into
    }
  , leave: function (el) {
      // el is the item left from
    }
  , end: function (el) {
      // el is the element you stopped dragging
    }
})

Dependencies

Minimal dependency of Enders Jeesh

Keywords

ender

FAQs

Package last updated on 09 Dec 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts