Add slots above and below item list
This commit is contained in:
parent
360e34e1fc
commit
715d57d56a
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,6 @@
|
||||||
"browser": "src/BetterSelect.js",
|
"browser": "src/BetterSelect.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "1.0.2",
|
"version": "1.1.0",
|
||||||
"url": "https://darkwiiplayer.github.io/BetterSelect/"
|
"url": "https://darkwiiplayer.github.io/BetterSelect/"
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,6 +159,7 @@ export class BetterSelect extends HTMLElement {
|
||||||
<dialog id="dialog" part="drop-down">
|
<dialog id="dialog" part="drop-down">
|
||||||
<input type="search" id="input" part="search" type="search"></input>
|
<input type="search" id="input" part="search" type="search"></input>
|
||||||
<ul id="list" part="list"></ul>
|
<ul id="list" part="list"></ul>
|
||||||
|
<slot name="bottom"></slot>
|
||||||
<slot id="loading" name="loading"></slot>
|
<slot id="loading" name="loading"></slot>
|
||||||
</dialog>
|
</dialog>
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in a new issue