jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
56 lines (53 loc) • 2.12 kB
HTML
<html lang="en">
<head>
<title id="Description">In this example is demonstrated how to setup 'modifiers'. The first layout panel in the demo is not resizable</title>
<link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" />
<script type="text/javascript" src="../../../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxsplitlayout.js"></script>
<script type="text/javascript" src="../../../scripts/demos.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var layout = new jqxSplitLayout("#layout", {
dataSource: [
{
label: "Tab 1",
modifiers: [],
content: "Item 1"
},
{
label: "Tab 2",
content: "Item 2"
},
{
orientation: "horizontal",
items: [
{
items: [
{
label: "Tab 3",
content: "Item 3"
}
]
},
{
items: [
{
label: "Tab 4",
content: "Item 4"
}
]
}
]
}
]
})
});
</script>
</head>
<body>
<div id="layout"></div>
</body>
</html>