mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-11-02 09:25:40 +00:00
76 lines
2.0 KiB
HTML
Executable File
76 lines
2.0 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Events</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 class="demo-section k-content" style="height:200px">
|
|
<button id="fab"></button>
|
|
</div>
|
|
|
|
<script>
|
|
$(document).ready(function () {
|
|
$("#fab").kendoFloatingActionButton({
|
|
icon: 'share',
|
|
positionMode: "absolute",
|
|
align: "bottom center",
|
|
alignOffset: {
|
|
x: 50,
|
|
y: 50
|
|
},
|
|
themeColor: "info",
|
|
size: "medium",
|
|
items: [{
|
|
label: "Download",
|
|
icon: "download",
|
|
click: onItemClick
|
|
}, {
|
|
label: "Print",
|
|
icon: "print",
|
|
click: onItemClick
|
|
}, {
|
|
label: "Email",
|
|
icon: "email",
|
|
click: onItemClick
|
|
}],
|
|
expand: onExpand,
|
|
collapse: onCollapse
|
|
});
|
|
|
|
function onExpand() {
|
|
kendoConsole.log("event: expand");
|
|
};
|
|
|
|
function onCollapse() {
|
|
kendoConsole.log("event: collapse");
|
|
};
|
|
|
|
function onItemClick(e) {
|
|
kendoConsole.log($(e.target).text() + " item clicked");
|
|
};
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|