• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Droppable

This version was saved 12 years, 2 months ago View current version     Page history
Saved by Richard D. Worth
on January 25, 2012 at 4:36:54 pm
 

 

type: interaction

release: N/A

status: in development

documentation: N/A

demo: http://view.jqueryui.com/interactions/demos/droppable/default.html

 

Note: This plugin is being rewritten for the 2.0 release. This documentation is about the rewrite, not the existing plugin.

 

 

Todos:

  •  

 

 


 

1 - Description:

 

The droppable plugin attaches a behavior to a generic element and therefore makes it a target for a Draggable or Sortable.

 


 

2 - Visual Design:

 

N/A

 


 

 

3 - Functional Specifications/Requirements:

 

Options

  • tolerance (string, default: "intersect")
    • intersect: half of the draggable element must overlap the droppable element horizontally and vertically
    • touch: the draggable element must overlap the droppable element by at least one pixel
    • pointer: the pointing device must overlap the droppable element 

 

Methods

  • none

 

Events

  • activate
  • deactivate
  • over
  • out
  • drop

 


 

4 - Markup & Style:

 

     4.1 Initial markup examples

 

     (not applicable)

 

     4.2 Recommended transformed HTML markup

 

     (not applicable)

 

     4.3 Accessibility recommendation

 

    (Detailed recommendations for ARIA, HTML markup, CSS and javascript that will contribute to universal access and full section 508 accessibility for screen readers, mobile devices and any other devices) 

 

     4.4 CSS & Theme

 

    (Not applicable) 

 


 

5 - Latest version of plugin:

 

Branch: https://github.com/jquery/jquery-ui/tree/interactions

 

Code: https://github.com/jquery/jquery-ui/blob/interactions/ui/jquery.ui.droppable.js

 

Demo: http://view.jqueryui.com/interactions/demos/droppable/default.html

 


 

6 - Open issues being discussed

 

  •  

 

Comments (0)

You don't have permission to comment on this page.