Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: runtime/bin/vmservice/client/lib/src/elements/eval_link.html

Issue 213853004: Add <eval-link> - a custom element for evaluating an expression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <polymer-element name="eval-link">
2 <template>
3 <style>
4 .idle {
5 color: #0489c3;
6 cursor: pointer;
7 }
8 .busy {
9 color: #aaa;
10 cursor: wait;
11 }
12 </style>
13
14 <template if="{{ busy }}">
15 <span class="busy">[evaluate]</span>
16 </template>
17 <template if="{{ !busy }}">
18 <span class="idle"><a on-click="{{ evalNow }}">[evaluate]</a></span>
19 </template>
20 <template if="{{ result != null }}">
21 = <instance-ref ref="{{ result }}"></instance-ref>
22 </template>
23
24 </template>
25 <script type="application/dart" src="eval_link.dart"></script>
26 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698