forked from extern/egroupware
582793d52b
To many things are not working :(
- addressbook, infolog, even timesheet index lacks at least r/o textbox and problably other widgets
- smallPART (with many extra widgets) is completly unusable
- *box widget seems not to skip empty boxes
--> we need more testing and progress, before we can merge that
This reverts commit 9cee681b94
.
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<!--
|
|
@license
|
|
|
|
Copyright IBM Corp. 2019
|
|
|
|
This source code is licensed under the Apache-2.0 license found in the
|
|
LICENSE file in the root directory of this source tree.
|
|
-->
|
|
|
|
<html>
|
|
<head>
|
|
<title>carbon-web-components example</title>
|
|
<meta charset="UTF-8" />
|
|
<style type="text/css">
|
|
body {
|
|
font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
}
|
|
|
|
#app {
|
|
width: 300px;
|
|
}
|
|
|
|
bx-dropdown,
|
|
bx-dropdown-item {
|
|
visibility: hidden;
|
|
}
|
|
|
|
bx-dropdown:defined,
|
|
bx-dropdown-item:defined {
|
|
visibility: inherit;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Hello World! 👋</h1>
|
|
<div id="app">
|
|
<bx-dropdown trigger-content="Select an item">
|
|
<bx-dropdown-item value="all">Option 1</bx-dropdown-item>
|
|
<bx-dropdown-item value="cloudFoundry">Option 2</bx-dropdown-item>
|
|
<bx-dropdown-item value="staging">Option 3</bx-dropdown-item>
|
|
<bx-dropdown-item value="dea">Option 4</bx-dropdown-item>
|
|
<bx-dropdown-item value="router">Option 5</bx-dropdown-item>
|
|
</bx-dropdown>
|
|
</div>
|
|
<script type="module" src="js/app.min.js"></script>
|
|
</body>
|
|
</html>
|