UNPKG

@n8d/htwoo-core

Version:

hTWOo is a Fluent Design Framework purely in HTML and CSS

14 lines (11 loc) • 293 B
/** * 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 };