OLD | NEW |
1 | 1 |
2 class EventTarget native "*EventTarget" { | 2 class EventTargetJS implements EventTarget native "*EventTarget" { |
3 | 3 |
4 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
5 | 5 |
6 bool dispatchEvent(Event event) native; | 6 bool dispatchEvent(EventJS event) native; |
7 | 7 |
8 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 8 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
9 | 9 |
10 var dartObjectLocalStorage; | 10 var dartObjectLocalStorage; |
11 | 11 |
12 String get typeName() native; | 12 String get typeName() native; |
13 } | 13 } |
OLD | NEW |