jqwidgets-framework
Version:
jQWidgets is an advanced jQuery, Angular, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
49 lines (43 loc) • 2 kB
HTML
<html lang="en">
<head>
<title id='Description'>Calendar Custom Element FluidSize</title>
<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" />
<meta name="description" content="In this example the width and height of Custom Element Calendar, are set with precentages." />
<link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" />
<link rel="stylesheet" href="../styles/demos.css" type="text/css" />
<script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script>
<script type="text/javascript" src="../scripts/demos.js"></script>
<script type="text/javascript" src="../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script>
<script type="text/javascript" src="../jqwidgets/jqxdatetimeinput.js"></script>
<script type="text/javascript" src="..//jqwidgets/jqxcalendar.js"></script>
<script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script>
<script type="text/javascript" src="../jqwidgets/globalization/globalize.js"></script>
<style>
body, html {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
<script>
JQXElements.settings['CalendarSettings'] =
{
width: '100%',
height: '100%'
}
</script>
</head>
<body>
<div class="example-description">
Custom element Calendar Fluid Size Example. The width and height of the Angular Calendar in this demo are in Percentages.
</div>
<div style="min-width: 200px; min-height: 200px; width: 30%; height: 30%;">
<jqx-calendar settings="CalendarSettings"></jqx-calendar>
</div>
</body>
</html>