OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 interface MutationEvent extends Event default MutationEventWrappingImplementatio
n { | 5 interface MutationEvent extends Event default MutationEventWrappingImplementatio
n { |
6 | 6 |
7 MutationEvent(String type, Node relatedNode, String prevValue, | 7 MutationEvent(String type, Node relatedNode, String prevValue, |
8 String newValue, String attrName, int attrChange, [bool canBubble, | 8 String newValue, String attrName, int attrChange, [bool canBubble, |
9 bool cancelable]); | 9 bool cancelable]); |
10 | 10 |
11 static const int ADDITION = 2; | 11 static const int ADDITION = 2; |
12 | 12 |
13 static const int MODIFICATION = 1; | 13 static const int MODIFICATION = 1; |
14 | 14 |
15 static const int REMOVAL = 3; | 15 static const int REMOVAL = 3; |
16 | 16 |
17 int get attrChange(); | 17 int get attrChange; |
18 | 18 |
19 String get attrName(); | 19 String get attrName; |
20 | 20 |
21 String get newValue(); | 21 String get newValue; |
22 | 22 |
23 String get prevValue(); | 23 String get prevValue; |
24 | 24 |
25 Node get relatedNode(); | 25 Node get relatedNode; |
26 } | 26 } |
OLD | NEW |