Files
ionic-framework/example/panels.html
2013-08-28 16:50:38 -05:00

51 lines
1.5 KiB
HTML

<html>
<head>
<meta charset="utf-8">
<title>Panels</title>
<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<!--<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">-->
<link rel="stylesheet" href="../../dist/framework.css">
</head>
<body>
<section data-default-panel="my-left-panel">
<header class="bar bar-header bar-dark">
<button class="button" data-panel-toggle="my-left-panel"></button>
<h1 class="title">Panels</h1>
<button class="button" data-panel-toggle="my-right-panel" data-panel-direction="right"></button>
</header>
<main class="content content-padded has-header">
<p><button class="button button-primary" data-panel-toggle="my-other-left-panel">Other Left Side Panel</button></p>
<p id="event-log"></p>
</main>
<footer class="bar bar-footer bar-dark">
<h3 class="title">Panels</h3>
</footer>
</section>
<section id="my-left-panel" class="ion-panel">
This is my default left side panel!
</section>
<section id="my-right-panel" class="ion-panel">
This is my right side panel!
</section>
<section id="my-other-left-panel" class="ion-panel">
This is my other left side panel!
</section>
<script src="../../js/framework/ion-panel.js"></script>
<script src="../../js/framework/handlers/panel-handler.js"></script>
</body>
</html>