jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
107 lines (98 loc) • 3.99 kB
HTML
<html lang="en">
<head>
<title id='Description'>Custom Element DropDownList Templates</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="This is an example of the templates in Custom Elements DropDownList." />
<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="../../../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxcore.elements.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxbuttons.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxscrollbar.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxlistbox.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxdropdownlist.js"></script>
<script type="text/javascript" src="../../../scripts/demos.js"></script>
<script>
var source =
[
'Affogato',
'Americano',
'Bicerin',
'Breve',
'Café Bombón',
'Café au lait',
'Caffé Corretto',
'Café Crema',
'Caffé Latte',
'Caffé macchiato',
'Café mélange',
'Coffee milk',
'Cafe mocha',
'Cappuccino',
'Carajillo',
'Cortado',
'Cuban espresso',
'Espresso',
'Eiskaffee',
'The Flat White',
'Frappuccino',
'Galao',
'Greek frappé coffee',
'Iced Coffee',
'Indian filter coffee',
'Instant coffee',
'Irish coffee',
'Liqueur coffee'
];
JQXElements.settings['DropDownListprimary'] =
{
template: 'primary',
source: source,
selectedIndex: 1
}
JQXElements.settings['DropDownListsuccess'] =
{
template: 'success',
source: source,
selectedIndex: 1
}
JQXElements.settings['DropDownListinfo'] =
{
template: 'info',
source: source,
selectedIndex: 1
}
JQXElements.settings['DropDownListwarning'] =
{
template: 'warning',
source: source,
selectedIndex: 1
}
JQXElements.settings['DropDownListdanger'] =
{
template: 'danger',
source: source,
selectedIndex: 1
}
JQXElements.settings['DropDownList'] =
{
source: source,
selectedIndex: 1
}
</script>
</head>
<body>
<div class="example-description">
Custom element DropDownList Templates.
</div>
<jqx-drop-down-list settings="DropDownList"></jqx-drop-down-list><br />
<jqx-drop-down-list settings="DropDownListprimary"></jqx-drop-down-list><br />
<jqx-drop-down-list settings="DropDownListsuccess"></jqx-drop-down-list><br />
<jqx-drop-down-list settings="DropDownListinfo"></jqx-drop-down-list><br />
<jqx-drop-down-list settings="DropDownListwarning"></jqx-drop-down-list><br />
<jqx-drop-down-list settings="DropDownListdanger"></jqx-drop-down-list>
</body>
</html>