Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: lib/html/doc/interface/Node.dart

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 /// @domName Node
8 interface Node extends EventTarget {
9 NodeList get nodes();
10
11 void set nodes(Collection<Node> value);
12
13 /**
14 * Replaces this node with another node.
15 * @domName Node.replaceChild
16 */
17 Node replaceWith(Node otherNode);
18
19 /**
20 * Removes this node from the DOM.
21 * @domName Node.removeChild
22 */
23 Node remove();
24
25
26 static final int ATTRIBUTE_NODE = 2;
27
28 static final int CDATA_SECTION_NODE = 4;
29
30 static final int COMMENT_NODE = 8;
31
32 static final int DOCUMENT_FRAGMENT_NODE = 11;
33
34 static final int DOCUMENT_NODE = 9;
35
36 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
37
38 static final int DOCUMENT_POSITION_CONTAINS = 0x08;
39
40 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01;
41
42 static final int DOCUMENT_POSITION_FOLLOWING = 0x04;
43
44 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
45
46 static final int DOCUMENT_POSITION_PRECEDING = 0x02;
47
48 static final int DOCUMENT_TYPE_NODE = 10;
49
50 static final int ELEMENT_NODE = 1;
51
52 static final int ENTITY_NODE = 6;
53
54 static final int ENTITY_REFERENCE_NODE = 5;
55
56 static final int NOTATION_NODE = 12;
57
58 static final int PROCESSING_INSTRUCTION_NODE = 7;
59
60 static final int TEXT_NODE = 3;
61
62 /** @domName Node.attributes */
63 final NamedNodeMap $dom_attributes;
64
65 /** @domName Node.childNodes */
66 final NodeList $dom_childNodes;
67
68 /** @domName Node.firstChild */
69 final Node $dom_firstChild;
70
71 /** @domName Node.lastChild */
72 final Node $dom_lastChild;
73
74 /** @domName Node.nextSibling */
75 final Node nextNode;
76
77 /** @domName Node.nodeType */
78 final int $dom_nodeType;
79
80 /** @domName Node.ownerDocument */
81 final Document document;
82
83 /** @domName Node.parentNode */
84 final Node parent;
85
86 /** @domName Node.previousSibling */
87 final Node previousNode;
88
89 /** @domName Node.textContent */
90 String text;
91
92 /** @domName Node.addEventListener */
93 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]);
94
95 /** @domName Node.appendChild */
96 Node $dom_appendChild(Node newChild);
97
98 /** @domName Node.cloneNode */
99 Node clone(bool deep);
100
101 /** @domName Node.contains */
102 bool contains(Node other);
103
104 /** @domName Node.dispatchEvent */
105 bool $dom_dispatchEvent(Event event);
106
107 /** @domName Node.hasChildNodes */
108 bool hasChildNodes();
109
110 /** @domName Node.insertBefore */
111 Node insertBefore(Node newChild, Node refChild);
112
113 /** @domName Node.removeChild */
114 Node $dom_removeChild(Node oldChild);
115
116 /** @domName Node.removeEventListener */
117 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]);
118
119 /** @domName Node.replaceChild */
120 Node $dom_replaceChild(Node newChild, Node oldChild);
121
122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698