OLD | NEW |
| (Empty) |
1 | |
2 class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInst
ance native "*SVGElementInstance" { | |
3 | |
4 _SVGElementInstanceEventsImpl get on() => | |
5 new _SVGElementInstanceEventsImpl(this); | |
6 | |
7 final _SVGElementInstanceListImpl childNodes; | |
8 | |
9 final _SVGElementImpl correspondingElement; | |
10 | |
11 final _SVGUseElementImpl correspondingUseElement; | |
12 | |
13 final _SVGElementInstanceImpl firstChild; | |
14 | |
15 final _SVGElementInstanceImpl lastChild; | |
16 | |
17 final _SVGElementInstanceImpl nextSibling; | |
18 | |
19 final _SVGElementInstanceImpl parentNode; | |
20 | |
21 final _SVGElementInstanceImpl previousSibling; | |
22 | |
23 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | |
24 | |
25 bool _dispatchEvent(_EventImpl event) native "return this.dispatchEvent(event)
;"; | |
26 | |
27 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; | |
28 } | |
29 | |
30 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
tanceEvents { | |
31 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr); | |
32 | |
33 EventListenerList get abort() => _get('abort'); | |
34 | |
35 EventListenerList get beforeCopy() => _get('beforecopy'); | |
36 | |
37 EventListenerList get beforeCut() => _get('beforecut'); | |
38 | |
39 EventListenerList get beforePaste() => _get('beforepaste'); | |
40 | |
41 EventListenerList get blur() => _get('blur'); | |
42 | |
43 EventListenerList get change() => _get('change'); | |
44 | |
45 EventListenerList get click() => _get('click'); | |
46 | |
47 EventListenerList get contextMenu() => _get('contextmenu'); | |
48 | |
49 EventListenerList get copy() => _get('copy'); | |
50 | |
51 EventListenerList get cut() => _get('cut'); | |
52 | |
53 EventListenerList get doubleClick() => _get('dblclick'); | |
54 | |
55 EventListenerList get drag() => _get('drag'); | |
56 | |
57 EventListenerList get dragEnd() => _get('dragend'); | |
58 | |
59 EventListenerList get dragEnter() => _get('dragenter'); | |
60 | |
61 EventListenerList get dragLeave() => _get('dragleave'); | |
62 | |
63 EventListenerList get dragOver() => _get('dragover'); | |
64 | |
65 EventListenerList get dragStart() => _get('dragstart'); | |
66 | |
67 EventListenerList get drop() => _get('drop'); | |
68 | |
69 EventListenerList get error() => _get('error'); | |
70 | |
71 EventListenerList get focus() => _get('focus'); | |
72 | |
73 EventListenerList get input() => _get('input'); | |
74 | |
75 EventListenerList get keyDown() => _get('keydown'); | |
76 | |
77 EventListenerList get keyPress() => _get('keypress'); | |
78 | |
79 EventListenerList get keyUp() => _get('keyup'); | |
80 | |
81 EventListenerList get load() => _get('load'); | |
82 | |
83 EventListenerList get mouseDown() => _get('mousedown'); | |
84 | |
85 EventListenerList get mouseMove() => _get('mousemove'); | |
86 | |
87 EventListenerList get mouseOut() => _get('mouseout'); | |
88 | |
89 EventListenerList get mouseOver() => _get('mouseover'); | |
90 | |
91 EventListenerList get mouseUp() => _get('mouseup'); | |
92 | |
93 EventListenerList get mouseWheel() => _get('mousewheel'); | |
94 | |
95 EventListenerList get paste() => _get('paste'); | |
96 | |
97 EventListenerList get reset() => _get('reset'); | |
98 | |
99 EventListenerList get resize() => _get('resize'); | |
100 | |
101 EventListenerList get scroll() => _get('scroll'); | |
102 | |
103 EventListenerList get search() => _get('search'); | |
104 | |
105 EventListenerList get select() => _get('select'); | |
106 | |
107 EventListenerList get selectStart() => _get('selectstart'); | |
108 | |
109 EventListenerList get submit() => _get('submit'); | |
110 | |
111 EventListenerList get unload() => _get('unload'); | |
112 } | |
OLD | NEW |