OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 library objectstore_view_element; | |
6 | |
7 import 'dart:async'; | |
8 import 'observatory_element.dart'; | |
9 import 'package:observatory/service.dart'; | |
10 import 'package:polymer/polymer.dart'; | |
11 | |
12 | |
13 @CustomTag('objectstore-view') | |
14 class ObjectStoreViewElement extends ObservatoryElement { | |
15 @published ObjectStore objectStore; | |
16 | |
17 ObjectStoreViewElement.created() : super.created(); | |
18 | |
19 Future refresh() { | |
20 return objectStore.reload(); | |
21 } | |
22 } | |
OLD | NEW |