OLD | NEW |
1 | 1 |
2 class NotificationJs extends DOMTypeJs implements Notification native "*Notifica
tion" { | 2 class _NotificationJs extends _DOMTypeJs implements Notification native "*Notifi
cation" { |
3 | 3 |
4 String get dir() native "return this.dir;"; | 4 String get dir() native "return this.dir;"; |
5 | 5 |
6 void set dir(String value) native "this.dir = value;"; | 6 void set dir(String value) native "this.dir = value;"; |
7 | 7 |
8 String get replaceId() native "return this.replaceId;"; | 8 String get replaceId() native "return this.replaceId;"; |
9 | 9 |
10 void set replaceId(String value) native "this.replaceId = value;"; | 10 void set replaceId(String value) native "this.replaceId = value;"; |
11 | 11 |
12 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 12 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
13 | 13 |
14 void cancel() native; | 14 void cancel() native; |
15 | 15 |
16 bool dispatchEvent(EventJs evt) native; | 16 bool dispatchEvent(_EventJs evt) native; |
17 | 17 |
18 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 18 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
19 | 19 |
20 void show() native; | 20 void show() native; |
21 } | 21 } |
OLD | NEW |