mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-11-02 14:29:36 +00:00
86 lines
3.0 KiB
HTML
Executable File
86 lines
3.0 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>API</title>
|
|
<meta charset="utf-8">
|
|
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
|
|
<script src="../../js/jquery.min.js"></script>
|
|
<script src="../../js/jszip.min.js"></script>
|
|
<script src="../../js/kendo.all.min.js"></script>
|
|
<script src="../content/shared/js/console.js"></script>
|
|
<script>
|
|
|
|
</script>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<a class="offline-button" href="../index.html">Back</a>
|
|
|
|
<div id="example">
|
|
<div class="configurator">
|
|
<div class="header">Configurator</div>
|
|
<div class="box-col">
|
|
<h4>Show / Hide</h4>
|
|
<ul class="options">
|
|
<li>
|
|
<button id="show" class="k-button">Show</button>
|
|
<button id="hide" class="k-button">Hide</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="demo-section k-content">
|
|
<div id="drawer">
|
|
<div style="height: 200px;">Lorem ipsum dolor sit amet consectetur adipisicing elit. Error accusantium odit, optio nulla maiores quo neque fugit debitis dignissimos incidunt maxime? Eum voluptatem blanditiis voluptatum praesentium dolorem, dolore placeat debitis quod delectus laborum assumenda cupiditate quaerat quam fugiat deleniti suscipit necessitatibus.</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(document).ready(function () {
|
|
$("#drawer").kendoDrawer({
|
|
template: "<ul> \
|
|
<li data-role='drawer-item'><span class='k-item-text'>First Item</span></li> \
|
|
<li data-role='drawer-separator'></li> \
|
|
<li data-role='drawer-item'><span class='k-item-text'>Second Item</span></li> \
|
|
<li data-role='drawer-item' class='k-state-selected'><span class='k-item-text'>Third Item</span></li> \
|
|
<li data-role='drawer-separator'></li> \
|
|
<li data-role='drawer-item'><span class='k-item-text'>Last Item</span></li> \
|
|
</ul>",
|
|
mode: "push",
|
|
position: 'left',
|
|
width: 150,
|
|
swipeToOpen: false
|
|
});
|
|
|
|
var drawer = $("#drawer").data("kendoDrawer");
|
|
|
|
|
|
$("#show").click(function () {
|
|
drawer.show();
|
|
});
|
|
|
|
$("#hide").click(function () {
|
|
drawer.hide();
|
|
});
|
|
});
|
|
</script>
|
|
<style>
|
|
#example .demo-section {
|
|
max-width: 640px;
|
|
}
|
|
|
|
.k-drawer-content {
|
|
padding: 1em;
|
|
}
|
|
</style>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|