Index: third_party/polymer/components/core-icon-button/demo.html |
diff --git a/third_party/polymer/core-component-page/demo.html b/third_party/polymer/components/core-icon-button/demo.html |
similarity index 58% |
rename from third_party/polymer/core-component-page/demo.html |
rename to third_party/polymer/components/core-icon-button/demo.html |
index 1f5a7b025cc7856c7a3e712e4d72116314c182b1..becd7fb319c796c2f8cca8f212c39db17cfd1008 100644 |
--- a/third_party/polymer/core-component-page/demo.html |
+++ b/third_party/polymer/components/core-icon-button/demo.html |
@@ -9,15 +9,27 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
--> |
<html> |
<head> |
- |
+ <title>core-icon-button</title> |
+ |
<script src="../platform/platform.js"></script> |
- <link rel="import" href="../polymer/polymer.html"> |
- <link rel="import" href="core-component-page.html"> |
- |
+ |
+ <link rel="import" href="core-icon-button.html"> |
+ <style> |
+ </style> |
+ |
</head> |
+ |
<body unresolved> |
- <core-component-page></core-component-page> |
+ |
+<template is="auto-binding"> |
+ <template repeat="{{icon in $.meta.metaData.icons.iconNames}}"> |
+ <core-icon-button icon="{{icon}}" title="{{icon}}"></core-icon-button> |
+ </template> |
+ <core-icon-button icon="menu"><span>label</span></core-icon-button> |
+ </div> |
+ <core-iconset id="meta"></core-iconset> |
+</template> |
</body> |
</html> |