OLD | NEW |
1 | 1 |
2 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati
onEvent" { | 2 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati
onEvent" { |
3 | 3 |
4 static final int ADDITION = 2; | 4 static final int ADDITION = 2; |
5 | 5 |
6 static final int MODIFICATION = 1; | 6 static final int MODIFICATION = 1; |
7 | 7 |
8 static final int REMOVAL = 3; | 8 static final int REMOVAL = 3; |
9 | 9 |
10 int get attrChange() native "return this.attrChange;"; | 10 final int attrChange; |
11 | 11 |
12 String get attrName() native "return this.attrName;"; | 12 final String attrName; |
13 | 13 |
14 String get newValue() native "return this.newValue;"; | 14 final String newValue; |
15 | 15 |
16 String get prevValue() native "return this.prevValue;"; | 16 final String prevValue; |
17 | 17 |
18 _NodeJs get relatedNode() native "return this.relatedNode;"; | 18 final _NodeJs relatedNode; |
19 | 19 |
20 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r
elatedNode, String prevValue, String newValue, String attrName, int attrChange)
native; | 20 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r
elatedNode, String prevValue, String newValue, String attrName, int attrChange)
native; |
21 } | 21 } |
OLD | NEW |