OLD | NEW |
1 | 1 |
2 class MutationEventJs extends EventJs implements MutationEvent native "*Mutation
Event" { | 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 int get attrChange() native "return this.attrChange;"; |
11 | 11 |
12 String get attrName() native "return this.attrName;"; | 12 String get attrName() native "return this.attrName;"; |
13 | 13 |
14 String get newValue() native "return this.newValue;"; | 14 String get newValue() native "return this.newValue;"; |
15 | 15 |
16 String get prevValue() native "return this.prevValue;"; | 16 String get prevValue() native "return this.prevValue;"; |
17 | 17 |
18 NodeJs get relatedNode() native "return this.relatedNode;"; | 18 _NodeJs get relatedNode() native "return this.relatedNode;"; |
19 | 19 |
20 void initMutationEvent(String type, bool canBubble, bool cancelable, NodeJs re
latedNode, String prevValue, String newValue, String attrName, int attrChange) n
ative; | 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 |