OLD | NEW |
| (Empty) |
1 | |
2 class _ElementJs extends _NodeJs implements Element native "*Element" { | |
3 | |
4 static final int ALLOW_KEYBOARD_INPUT = 1; | |
5 | |
6 final int childElementCount; | |
7 | |
8 final int clientHeight; | |
9 | |
10 final int clientLeft; | |
11 | |
12 final int clientTop; | |
13 | |
14 final int clientWidth; | |
15 | |
16 final _ElementJs firstElementChild; | |
17 | |
18 final _ElementJs lastElementChild; | |
19 | |
20 final _ElementJs nextElementSibling; | |
21 | |
22 final int offsetHeight; | |
23 | |
24 final int offsetLeft; | |
25 | |
26 final _ElementJs offsetParent; | |
27 | |
28 final int offsetTop; | |
29 | |
30 final int offsetWidth; | |
31 | |
32 final _ElementJs previousElementSibling; | |
33 | |
34 final int scrollHeight; | |
35 | |
36 int scrollLeft; | |
37 | |
38 int scrollTop; | |
39 | |
40 final int scrollWidth; | |
41 | |
42 final _CSSStyleDeclarationJs style; | |
43 | |
44 final String tagName; | |
45 | |
46 final String webkitRegionOverflow; | |
47 | |
48 void blur() native; | |
49 | |
50 void focus() native; | |
51 | |
52 String getAttribute(String name) native; | |
53 | |
54 String getAttributeNS(String namespaceURI, String localName) native; | |
55 | |
56 _AttrJs getAttributeNode(String name) native; | |
57 | |
58 _AttrJs getAttributeNodeNS(String namespaceURI, String localName) native; | |
59 | |
60 _ClientRectJs getBoundingClientRect() native; | |
61 | |
62 _ClientRectListJs getClientRects() native; | |
63 | |
64 _NodeListJs getElementsByClassName(String name) native; | |
65 | |
66 _NodeListJs getElementsByTagName(String name) native; | |
67 | |
68 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; | |
69 | |
70 bool hasAttribute(String name) native; | |
71 | |
72 bool hasAttributeNS(String namespaceURI, String localName) native; | |
73 | |
74 _ElementJs querySelector(String selectors) native; | |
75 | |
76 _NodeListJs querySelectorAll(String selectors) native; | |
77 | |
78 void removeAttribute(String name) native; | |
79 | |
80 void removeAttributeNS(String namespaceURI, String localName) native; | |
81 | |
82 _AttrJs removeAttributeNode(_AttrJs oldAttr) native; | |
83 | |
84 void scrollByLines(int lines) native; | |
85 | |
86 void scrollByPages(int pages) native; | |
87 | |
88 void scrollIntoView([bool alignWithTop = null]) native; | |
89 | |
90 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; | |
91 | |
92 void setAttribute(String name, String value) native; | |
93 | |
94 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; | |
95 | |
96 _AttrJs setAttributeNode(_AttrJs newAttr) native; | |
97 | |
98 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; | |
99 | |
100 bool webkitMatchesSelector(String selectors) native; | |
101 | |
102 void webkitRequestFullScreen(int flags) native; | |
103 } | |
OLD | NEW |