Add slots above and below item list

This commit is contained in:
Talia 2025-01-15 15:29:43 +01:00
parent 360e34e1fc
commit 715d57d56a
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,6 @@
"browser": "src/BetterSelect.js",
"type": "module",
"license": "MIT",
"version": "1.0.2",
"version": "1.1.0",
"url": "https://darkwiiplayer.github.io/BetterSelect/"
}

View file

@ -159,6 +159,7 @@ export class BetterSelect extends HTMLElement {
<dialog id="dialog" part="drop-down">
<input type="search" id="input" part="search" type="search"></input>
<ul id="list" part="list"></ul>
<slot name="bottom"></slot>
<slot id="loading" name="loading"></slot>
</dialog>
`