forked from 0x2620/oxjs
support drag and drop in text lists
This commit is contained in:
parent
6b0779fcab
commit
63885b8c1b
3 changed files with 33 additions and 19 deletions
|
|
@ -16,13 +16,13 @@ Ox.Element <function:Ox.JQueryElement> Basic UI element object
|
|||
self <object> shared private variable
|
||||
# Events -------------------------------------------------------------------
|
||||
anyclick <event> anyclick
|
||||
fires on mouseup, but not on any subsequent mouseup within 250 ms
|
||||
Fires on mouseup, but not on any subsequent mouseup within 250 ms
|
||||
* <*> original event properties
|
||||
doubleclick <event> doubleclick
|
||||
fires on the second mousedown within 250 ms
|
||||
Fires on the second mousedown within 250 ms
|
||||
* <*> original event properties
|
||||
drag <event> drag
|
||||
fires on mousemove after dragstart, stops firing on mouseup
|
||||
Fires on mousemove after dragstart, stops firing on mouseup
|
||||
clientDX <number> horizontal drag delta in px
|
||||
clientDY <number> vertical drag delta in px
|
||||
* <*> original event properties
|
||||
|
|
@ -31,20 +31,24 @@ Ox.Element <function:Ox.JQueryElement> Basic UI element object
|
|||
clientDX <number> horizontal drag delta in px
|
||||
clientDY <number> vertical drag delta in px
|
||||
* <*> original event properties
|
||||
dragenter <event> dragenter
|
||||
Fires when entering an element during drag
|
||||
dragleave <event> dragleave
|
||||
Fires when leaving an element during drag
|
||||
dragpause <event> dragpause
|
||||
Fires once when the mouse doesn't move for 250 ms after drag
|
||||
Fires once when the mouse doesn't move for 250 ms during drag
|
||||
clientDX <number> horizontal drag delta in px
|
||||
clientDY <number> vertical drag delta in px
|
||||
* <*> original event properties
|
||||
dragstart <event> dragstart
|
||||
fires when the mouse is down for 250 ms
|
||||
Fires when the mouse is down for 250 ms
|
||||
* <*> original event properties
|
||||
mouserepeat <event> mouserepeat
|
||||
fires every 50 ms after the mouse was down for 250 ms, stops firing on
|
||||
Fires every 50 ms after the mouse was down for 250 ms, stops firing on
|
||||
mouseleave or mouseup
|
||||
* <*> original event properties
|
||||
singleclick <event> singleclick
|
||||
fires 250 ms after mouseup, if there was no subsequent mousedown
|
||||
Fires 250 ms after mouseup, if there was no subsequent mousedown
|
||||
* <*> original event properties
|
||||
@*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue