2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
11 `core-toolbar` is a horizontal bar containing elements that can be used for
12 label, navigation, search and actions.
15 <core-icon-button icon="menu" on-tap="{{menuAction}}"></core-icon-button>
17 <core-icon-button icon="more" on-tap="{{moreAction}}"></core-icon-button>
20 `core-toolbar` has a standard height, but can made be taller by setting `tall`
21 class on the `core-toolbar`. This will make the toolbar 3x the normal height.
23 <core-toolbar class="tall">
24 <core-icon-button icon="menu"></core-icon-button>
27 Apply `medium-tall` class to make the toolbar medium tall. This will make the
28 toolbar 2x the normal height.
30 <core-toolbar class="medium-tall">
31 <core-icon-button icon="menu"></core-icon-button>
34 When taller, elements can pin to either the top (default), middle or bottom.
36 <core-toolbar class="tall">
37 <core-icon-button icon="menu"></core-icon-button>
38 <div class="middle indent">Middle Title</div>
39 <div class="bottom indent">Bottom Title</div>
42 To make an element completely fit at the bottom of the toolbar, use `fit` along
45 <core-toolbar class="tall">
46 <div id="progressBar" class="bottom fit"></div>
49 @group Polymer Core Elements
54 <link rel=
"import" href=
"../polymer/polymer.html">
56 <polymer-element name=
"core-toolbar" noscript
>
59 <link rel=
"stylesheet" href=
"core-toolbar.css">
61 <div id=
"bottomBar" class=
"toolbar-tools" center horizontal layout
>
62 <content select=
".bottom"></content>
65 <div id=
"middleBar" class=
"toolbar-tools" center horizontal layout
>
66 <content select=
".middle"></content>
69 <div id=
"topBar" class=
"toolbar-tools" center horizontal layout
>