Skip to content

Instantly share code, notes, and snippets.

@seahrh
Created June 17, 2015 04:06
Show Gist options
  • Save seahrh/8effb305bde5247d4a4c to your computer and use it in GitHub Desktop.
Save seahrh/8effb305bde5247d4a4c to your computer and use it in GitHub Desktop.
paper-drawer-panel
<!doctype html>
<html>
<head>
<title>paper-drawer-panel demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<script src="vendor/webcomponentsjs/webcomponents-lite.min.js"></script>
<link href="vendor/iron-icons/iron-icons.html" rel="import">
<link rel="import" href="vendor/paper-styles/paper-styles.html">
<link href="vendor/paper-header-panel/paper-header-panel.html" rel="import">
<link href="vendor/paper-toolbar/paper-toolbar.html" rel="import">
<link rel="import" href="vendor/paper-icon-button/paper-icon-button.html">
<link rel="import" href="vendor/paper-drawer-panel/paper-drawer-panel.html">
</head>
<body unresolved>
<paper-drawer-panel force-narrow>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment