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

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: gen js 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 <head>
2 <link rel="import" href="instance_ref.html">
3 </head>
4 <polymer-element name="eval-link">
5 <template>
6 <style>
7 .idle {
8 color: #0489c3;
9 cursor: pointer;
10 }
11 .busy {
12 color: #aaa;
13 cursor: wait;
14 }
15 </style>
16
17 <template if="{{ busy }}">
18 <span class="busy">[evaluate]</span>
19 </template>
20 <template if="{{ !busy }}">
21 <span class="idle"><a on-click="{{ evalNow }}">[evaluate]</a></span>
22 </template>
23 <template if="{{ result != null }}">
24 = <instance-ref ref="{{ result }}"></instance-ref>
25 </template>
26
27 </template>
28 <script type="application/dart" src="eval_link.dart"></script>
29 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698