OLD | NEW |
1 | 1 |
2 class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment { | 2 class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment { |
3 _DocumentFragmentImpl._wrap(ptr) : super._wrap(ptr); | 3 _DocumentFragmentImpl._wrap(ptr) : super._wrap(ptr); |
4 | 4 |
| 5 ElementEvents get on() { |
| 6 if (_on == null) _on = new ElementEvents(this); |
| 7 return _on; |
| 8 } |
| 9 |
5 Element query(String selectors) { | 10 Element query(String selectors) { |
6 return _wrap(_ptr.querySelector(_unwrap(selectors))); | 11 return _wrap(_ptr.querySelector(_unwrap(selectors))); |
7 } | 12 } |
8 | 13 |
9 NodeList _querySelectorAll(String selectors) { | 14 NodeList _querySelectorAll(String selectors) { |
10 return _wrap(_ptr.querySelectorAll(_unwrap(selectors))); | 15 return _wrap(_ptr.querySelectorAll(_unwrap(selectors))); |
11 } | 16 } |
12 } | 17 } |
OLD | NEW |