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

Unified Diff: dashboard/dashboard/elements/primary-button.html

Issue 1948813002: [Polymer10] Port dashboard buttons to Polymer 1.0 (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Address Annie's comment Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dashboard/dashboard/elements/chart-legend.html ('k') | dashboard/dashboard/elements/trace-button.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/primary-button.html
diff --git a/dashboard/dashboard/elements/primary-button.html b/dashboard/dashboard/elements/primary-button.html
index 5755e60d9ede272a6e2e93ea63956d94f6b8108c..58581ef5dd1fe6d9b718a80c0922968bc5f5d963 100644
--- a/dashboard/dashboard/elements/primary-button.html
+++ b/dashboard/dashboard/elements/primary-button.html
@@ -7,7 +7,7 @@ found in the LICENSE file.
<link rel="import" href="/components/paper-button/paper-button.html">
-<polymer-element name="primary-button" extends="button" noscript>
+<dom-module id="primary-button">
<template>
<style>
:host {
@@ -30,9 +30,18 @@ found in the LICENSE file.
}
</style>
- <paper-button raised disabled?="{{disabled}}">
+ <paper-button raised disabled$="{{disabled}}">
<content></content>
</paper-button>
</template>
-</polymer-element>
+
+ <script>
+ 'use strict';
+
+ Polymer({
+ is: 'primary-button',
+ extends: 'button'
+ });
+ </script>
+</dom-module>
« no previous file with comments | « dashboard/dashboard/elements/chart-legend.html ('k') | dashboard/dashboard/elements/trace-button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698