OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface Element extends Node, NodeSelector, ElementTraversal { | |
8 | |
9 static final int ALLOW_KEYBOARD_INPUT = 1; | |
10 | |
11 final int childElementCount; | |
12 | |
13 final int clientHeight; | |
14 | |
15 final int clientLeft; | |
16 | |
17 final int clientTop; | |
18 | |
19 final int clientWidth; | |
20 | |
21 final Element firstElementChild; | |
22 | |
23 final Element lastElementChild; | |
24 | |
25 final Element nextElementSibling; | |
26 | |
27 final int offsetHeight; | |
28 | |
29 final int offsetLeft; | |
30 | |
31 final Element offsetParent; | |
32 | |
33 final int offsetTop; | |
34 | |
35 final int offsetWidth; | |
36 | |
37 final Element previousElementSibling; | |
38 | |
39 final int scrollHeight; | |
40 | |
41 int scrollLeft; | |
42 | |
43 int scrollTop; | |
44 | |
45 final int scrollWidth; | |
46 | |
47 final CSSStyleDeclaration style; | |
48 | |
49 final String tagName; | |
50 | |
51 final String webkitRegionOverflow; | |
52 | |
53 void blur(); | |
54 | |
55 void focus(); | |
56 | |
57 String getAttribute(String name); | |
58 | |
59 String getAttributeNS(String namespaceURI, String localName); | |
60 | |
61 Attr getAttributeNode(String name); | |
62 | |
63 Attr getAttributeNodeNS(String namespaceURI, String localName); | |
64 | |
65 ClientRect getBoundingClientRect(); | |
66 | |
67 ClientRectList getClientRects(); | |
68 | |
69 NodeList getElementsByClassName(String name); | |
70 | |
71 NodeList getElementsByTagName(String name); | |
72 | |
73 NodeList getElementsByTagNameNS(String namespaceURI, String localName); | |
74 | |
75 bool hasAttribute(String name); | |
76 | |
77 bool hasAttributeNS(String namespaceURI, String localName); | |
78 | |
79 Element querySelector(String selectors); | |
80 | |
81 NodeList querySelectorAll(String selectors); | |
82 | |
83 void removeAttribute(String name); | |
84 | |
85 void removeAttributeNS(String namespaceURI, String localName); | |
86 | |
87 Attr removeAttributeNode(Attr oldAttr); | |
88 | |
89 void scrollByLines(int lines); | |
90 | |
91 void scrollByPages(int pages); | |
92 | |
93 void scrollIntoView([bool alignWithTop]); | |
94 | |
95 void scrollIntoViewIfNeeded([bool centerIfNeeded]); | |
96 | |
97 void setAttribute(String name, String value); | |
98 | |
99 void setAttributeNS(String namespaceURI, String qualifiedName, String value); | |
100 | |
101 Attr setAttributeNode(Attr newAttr); | |
102 | |
103 Attr setAttributeNodeNS(Attr newAttr); | |
104 | |
105 bool webkitMatchesSelector(String selectors); | |
106 | |
107 void webkitRequestFullScreen(int flags); | |
108 } | |
OLD | NEW |