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",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"version": "1.0.2",
|
||||
"version": "1.1.0",
|
||||
"url": "https://darkwiiplayer.github.io/BetterSelect/"
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
`
|
||||
|
|
Loading…
Reference in a new issue