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

Side by Side Diff: appengine/chromium_rietveld/new_static/common/cr-action.html

Issue 1001723003: Create a common directory of widgets and css. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. --> 3 found in the LICENSE file. -->
4 4
5 <!-- 5 <!--
6 This is similar to a button, but appears like a link instead. It's generally 6 This is similar to a button, but appears like a link instead. It's generally
7 for non-destructive actions and should never navigate the page. 7 for non-destructive actions and should never navigate the page.
8 8
9 ex. <a is="cr-action" on-tap="{{ doSomething }}"></a> 9 ex. <a is="cr-action" on-tap="{{ doSomething }}"></a>
10 10
(...skipping 26 matching lines...) Expand all
37 this.fire("tap"); 37 this.fire("tap");
38 event.preventDefault(); 38 event.preventDefault();
39 } 39 }
40 }, 40 },
41 handleClick: function(event) { 41 handleClick: function(event) {
42 event.preventDefault(); 42 event.preventDefault();
43 }, 43 },
44 }); 44 });
45 </script> 45 </script>
46 </ploymer-element> 46 </ploymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698