UNPKG
@n8d/htwoo-core
Version:
latest (2.9.2)
next (2.0.0-alpha5)
2.9.2
2.9.1
2.9.0
2.7.1
2.7.0
2.6.0
2.5.2
2.5.1
2.5.0
2.4.0
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
2.0.0-alpha8
2.0.0-alpha7
2.0.0-alpha6
2.0.0-alpha5
2.0.0-alpha4
2.0.0-alpha3
2.0.0-alpha2
2.0.0-alpha1
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
0.7.0
0.6.0
0.6.0-beta1
0.5.1
0.5.0
0.4.1
0.4.0
0.4.0-beta5
0.4.0-beta4
0.4.0-beta3
0.4.0-beta2
0.4.0-beta1
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
0.0.0-alpha.2
0.0.0-alpha.1
hTWOo is a Fluent Design Framework purely in HTML and CSS
lab.n8d.studio/htwoo/
n8design/htwoo
@n8d/htwoo-core
/
lib
/
ts
/
_util.ts
14 lines
(11 loc)
•
293 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * Custom select element extension for HTML UL elements */
class
PnpSelect
extends
HTMLUListElement
{
constructor
(
) {
super
(); } }
// Register the custom element
const
customElement =
window
.
customElements
.
define
(
"pnp-select"
,
PnpSelect
, {
extends
:
"li"
});
export
{
PnpSelect
};