<html>
<head>
<title>Kendo</title>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.default.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.mobile.all.min.css">
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.2.716/js/kendo.all.min.js"></script>
<style>
.km-content > div
{
display: flex;
flex-direction: column;
}
.flex
{
flex: 1;
}
.flex > div
{
padding: 5px;
}
.flex > div > div
{
height: 100%;
width: 98%;
margin-left: .3em;
box-shadow: 5px 5px 10px #888888;
overflow-x:hidden !important;
}
</style>
</head>
<body>
<!--Main View-->
<div data-role="view" data-layout="layout" id="viewHome" data-stretch="true">
<div>
<div class="flex">
<div>
<div data-role="scroller">
<ul id="notesHome"
data-role="listview"
data-type="group"
data-fixed-headers="true">
<li>
Notes
<ul>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
</ul>
</li>
</ul>
</div>
</div>
<div>
<div data-role="scroller">
<div>
<ul id="tasksHome"
data-role="listview"
data-type="group"
data-fixed-headers="true">
<li>
Tasks
<ul>
<li>Tasks</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="flex">
<div id="activitesHome">
<div data-role="scroller">
<div data-role="scheduler"></div>
</div>
</div>
<div>
<div data-role="scroller">
<ul id="alertsHome"
data-role="listview"
data-type="group"
data-fixed-headers="true">
<li>
Alerts
<ul>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--Main View Drawer-->
<div id="drawerHome"
data-role="drawer"
data-views="['viewHome']">
<ul data-role="listview" data-style="inset">
<li><a>Accounts</a></li>
<li><a>Calendar</a></li>
<li><a>Company</a></li>
<li><a>Correspondence</a></li>
<li><a>Documents</a></li>
<li><a>People</a></li>
<li><a>Reports</a></li>
<li><img src="" style="height: 10em; margin-left: 1.6em;"></li>
<li><a>Change UI Theme</a></li>
<li><a data-transition="none">About</a></li>
<li><a href="/views/Logout.html" data-transition="none" data-target="paneMain">Logout</a></li>
</ul>
</div>
<!--Global Layout-->
<div data-role="layout" data-id="layout">
<header data-role="header">
<div data-role="navbar">
<a data-role="button" data-rel="drawer" href="#drawerHome" data-icon="drawer-button" data-align="left"></a>
<span data-role="view-title">Sample</span>
</div>
</header>
<footer data-role="footer">
<div data-role="tabstrip">
<a data-icon="contacts">Profile</a>
<a data-icon="settings">Settings</a>
</div>
</footer>
</div>
<style>
.flex {
display: flex;
flex-direction: row;
}
.flex > div {
flex: 1 1;
}
</style>
<script>
var app = new kendo.mobile.Application(document.body);
</script>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |