Package: | Ext.air |
Defined In: | NativeDD.js |
Class: | DragType |
Extends: | Object |
Property | Defined By | |
---|---|---|
BITMAP : Object Constant for bitmap data | DragType | |
FILES : Object Constant for file list data | DragType | |
HTML : Object Constant for html data | DragType | |
TEXT : Object Constant for text data | DragType | |
URL : Object Constant for url data | DragType | |
matchers : Object Collection of matching regular expressions and code snippets. | DragType | |
pseudos : Object Collection of "pseudo class" processors. Each processor is passed the current nodeset (array)
and the argument (if a... Collection of "pseudo class" processors. Each processor is passed the current nodeset (array)
and the argument (if any) supplied in the selector. | DragType |
Method | Defined By | |
---|---|---|
filter( Array el , String selector , Boolean nonMatches )
:
ArrayFilters an array of elements to only include matches of a simple selector (e.g. div.some-class or span:first-child) Filters an array of elements to only include matches of a simple selector (e.g. div.some-class or span:first-child) Parameters:
| DragType | |
is( String/HTMLElement/Array el , String selector )
:
BooleanReturns true if the passed element(s) match the passed simple selector (e.g. div.some-class or span:first-child) Returns true if the passed element(s) match the passed simple selector (e.g. div.some-class or span:first-child) Parameters:
| DragType | |
operators()
:
void Collection of operator comparison functions. The default operators are =, !=, ^=, $=, *=, %=, |= and ~=.
New operato... Collection of operator comparison functions. The default operators are =, !=, ^=, $=, *=, %=, |= and ~=.
New operators can be added as long as the match the format c= where c is any character other than space, > <. Parameters:
| DragType | |
select( String selector , [Node root ] )
:
ArraySelects a group of elements. Selects a group of elements. Parameters:
| DragType | |
selectNode( String selector , [Node root ] )
:
ElementSelects a single element. Selects a single element. Parameters:
| DragType | |
selectNumber( String selector , [Node root ], Number defaultValue )
:
NumberSelects the value of a node, parsing integers and floats. Selects the value of a node, parsing integers and floats. Parameters:
| DragType | |
selectValue( String selector , [Node root ], String defaultValue )
:
voidSelects the value of a node, optionally replacing null with the defaultValue. Selects the value of a node, optionally replacing null with the defaultValue. Parameters:
| DragType |