jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
24 lines (22 loc) • 964 B
HTML
<html lang="en">
<head>
<title id='Description'>Switch Button Custom Element with Javascript</title>
<link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" />
<script type="text/javascript" src="../../../scripts/webcomponents-lite.min.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/jqxswitchbutton.js"></script>
<script type="text/javascript" src="../../../scripts/demos.js"></script>
<script>
window.onload = function () {
var button = document.createElement("jqx-switch-button");
button.width = 90;
button.height = 35;
document.body.appendChild(button);
}
</script>
</head>
<body>
</body>
</html>