OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Copyright 2013 The Polymer Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style |
| 4 license that can be found in the LICENSE file. |
| 5 --> |
| 6 <!-- |
| 7 /** |
| 8 * @module Polymer UI Elements |
| 9 */ |
| 10 /** |
| 11 * polymer-ui-sidebar is a sidebar usually on the left side of the main content. |
| 12 * |
| 13 * Example: |
| 14 * |
| 15 * <polymer-ui-sidebar label="Polymer"> |
| 16 * some content... |
| 17 * </polymer-ui-sidebar> |
| 18 * |
| 19 * @class polymer-ui-sidebar |
| 20 */ |
| 21 /** |
| 22 * Sidebar header label. |
| 23 * |
| 24 * @attribute label |
| 25 * @type string |
| 26 * @default '' |
| 27 */ |
| 28 --> |
| 29 <link rel="import" href="../polymer/polymer.html"> |
| 30 <link rel="import" href="../polymer-ui-theme-aware/polymer-ui-theme-aware.html"> |
| 31 <link rel="import" href="../polymer-flex-layout/polymer-flex-layout.html"> |
| 32 <link rel="import" href="../polymer-ui-sidebar-header/polymer-ui-sidebar-header.
html"> |
| 33 |
| 34 <polymer-element name="polymer-ui-sidebar" extends="polymer-ui-theme-aware" attr
ibutes="label" noscript> |
| 35 <template> |
| 36 <link rel="stylesheet" href="polymer-ui-sidebar.css"> |
| 37 <polymer-flex-layout vertical></polymer-flex-layout> |
| 38 <polymer-ui-sidebar-header label="{{label}}"> |
| 39 <content select="[logo]"></content> |
| 40 </polymer-ui-sidebar-header> |
| 41 <content></content> |
| 42 </template> |
| 43 </polymer-element> |
OLD | NEW |