| OLD | NEW |
| (Empty) |
| 1 | |
| 2 class _DOMSelectionJs extends _DOMTypeJs implements DOMSelection native "*DOMSel
ection" { | |
| 3 | |
| 4 final _NodeJs anchorNode; | |
| 5 | |
| 6 final int anchorOffset; | |
| 7 | |
| 8 final _NodeJs baseNode; | |
| 9 | |
| 10 final int baseOffset; | |
| 11 | |
| 12 final _NodeJs extentNode; | |
| 13 | |
| 14 final int extentOffset; | |
| 15 | |
| 16 final _NodeJs focusNode; | |
| 17 | |
| 18 final int focusOffset; | |
| 19 | |
| 20 final bool isCollapsed; | |
| 21 | |
| 22 final int rangeCount; | |
| 23 | |
| 24 final String type; | |
| 25 | |
| 26 void addRange(_RangeJs range) native; | |
| 27 | |
| 28 void collapse(_NodeJs node, int index) native; | |
| 29 | |
| 30 void collapseToEnd() native; | |
| 31 | |
| 32 void collapseToStart() native; | |
| 33 | |
| 34 bool containsNode(_NodeJs node, bool allowPartial) native; | |
| 35 | |
| 36 void deleteFromDocument() native; | |
| 37 | |
| 38 void empty() native; | |
| 39 | |
| 40 void extend(_NodeJs node, int offset) native; | |
| 41 | |
| 42 _RangeJs getRangeAt(int index) native; | |
| 43 | |
| 44 void modify(String alter, String direction, String granularity) native; | |
| 45 | |
| 46 void removeAllRanges() native; | |
| 47 | |
| 48 void selectAllChildren(_NodeJs node) native; | |
| 49 | |
| 50 void setBaseAndExtent(_NodeJs baseNode, int baseOffset, _NodeJs extentNode, in
t extentOffset) native; | |
| 51 | |
| 52 void setPosition(_NodeJs node, int offset) native; | |
| 53 | |
| 54 String toString() native; | |
| 55 } | |
| OLD | NEW |