OLD | NEW |
1 | 1 |
2 class SVGElementInstance native "*SVGElementInstance" { | 2 class SVGElementInstanceJS implements SVGElementInstance native "*SVGElementInst
ance" { |
3 | 3 |
4 SVGElementInstanceList get childNodes() native "return this.childNodes;"; | 4 SVGElementInstanceListJS get childNodes() native "return this.childNodes;"; |
5 | 5 |
6 SVGElement get correspondingElement() native "return this.correspondingElement
;"; | 6 SVGElementJS get correspondingElement() native "return this.correspondingEleme
nt;"; |
7 | 7 |
8 SVGUseElement get correspondingUseElement() native "return this.correspondingU
seElement;"; | 8 SVGUseElementJS get correspondingUseElement() native "return this.correspondin
gUseElement;"; |
9 | 9 |
10 SVGElementInstance get firstChild() native "return this.firstChild;"; | 10 SVGElementInstanceJS get firstChild() native "return this.firstChild;"; |
11 | 11 |
12 SVGElementInstance get lastChild() native "return this.lastChild;"; | 12 SVGElementInstanceJS get lastChild() native "return this.lastChild;"; |
13 | 13 |
14 SVGElementInstance get nextSibling() native "return this.nextSibling;"; | 14 SVGElementInstanceJS get nextSibling() native "return this.nextSibling;"; |
15 | 15 |
16 SVGElementInstance get parentNode() native "return this.parentNode;"; | 16 SVGElementInstanceJS get parentNode() native "return this.parentNode;"; |
17 | 17 |
18 SVGElementInstance get previousSibling() native "return this.previousSibling;"
; | 18 SVGElementInstanceJS get previousSibling() native "return this.previousSibling
;"; |
19 | 19 |
20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
21 | 21 |
22 bool dispatchEvent(Event event) native; | 22 bool dispatchEvent(EventJS event) native; |
23 | 23 |
24 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 24 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
25 | 25 |
26 var dartObjectLocalStorage; | 26 var dartObjectLocalStorage; |
27 | 27 |
28 String get typeName() native; | 28 String get typeName() native; |
29 } | 29 } |
OLD | NEW |