Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
update demo to make it looks a bit better
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Oct 1, 2014
1 parent 6fa8d3f commit ca3526c
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,37 @@
<script src="../platform/platform.js"></script>
<link href="../font-roboto/roboto.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link href="../core-menu/core-menu.html" rel="import">
<link href="paper-item.html" rel="import">
<style shim-shadowdom>
body {
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
margin: 20px;
}

paper-item {
max-width: 320px;
}
</style>
</head>
<body unresolved>
<core-menu>
<paper-item icon="refresh" label="Item 1"></paper-item>
<paper-item label="Item 2"></paper-item>
<paper-item label="Item with a link">
<a href="http://www.polymer-project.org" target="_self"></a>
</paper-item>
</core-menu>

<h2>items with icon and label:</h2>
<paper-item icon="refresh" label="Refresh"></paper-item>
<paper-item icon="favorite" label="Favorite"></paper-item>
<paper-item icon="delete" label="Delete"></paper-item>
<paper-item icon="bookmark" label="Bookmark"></paper-item>

<br><br>

<h2>links (via &lt;a&gt;):</h2>
<paper-item label="Polymer Project link">
<a href="http://www.polymer-project.org" target="_blank"></a>
</paper-item>
<paper-item label="GitHub link">
<a href="https://github.com/Polymer" target="_blank"></a>
</paper-item>
<paper-item label="WebComponents.org link">
<a href="http://webcomponents.org/" target="_blank"></a>
</paper-item>
</body>
</html>

0 comments on commit ca3526c

Please sign in to comment.