drawer.html 1.4 KB
<!doctype html>
<html>
<head>
  <script src="/bower_components/webcomponentsjs/webcomponents-lite.min.js">
  </script>
  <link rel="import"
        href="/bower_components/paper-drawer-panel/paper-drawer-panel.html">
  <link rel="import"
        href="/bower_components/paper-header-panel/paper-header-panel.html">
  <link rel="import"
        href="/bower_components/paper-toolbar/paper-toolbar.html">
  <link rel="import"
        href="/bower_components/paper-icon-button/paper-icon-button.html">
  <link rel="import"
        href="/bower_components/iron-icons/iron-icons.html">
  <link rel="import"
        href="/bower_components/iron-flex-layout/iron-flex-layout.html">
  <link rel="import"
        href="/bower_components/font-roboto/roboto.html">
  <style>
    body {
      font-family: Roboto, 'Noto', 'Helvetica Neue',  
                   Helvetica, Arial, sans-serif;
    }
  </style>
</head>
<body class="fullbleed vertical layout">
  <paper-drawer-panel class="flex">
    <paper-header-panel drawer>
      <paper-toolbar>
        <div>Application</div>
      </paper-toolbar>
      <div> Drawer content... </div>
    </paper-header-panel>
    <paper-header-panel main>
      <paper-toolbar>
        <paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
        <div>Title</div>
      </paper-toolbar>
      <div> Main content... </div>
    </paper-header-panel>
  </paper-drawer-panel>
</body>
</html>