Add below-search slot and fix missing top slot
This commit is contained in:
parent
715d57d56a
commit
c2384c540f
2 changed files with 3 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.1.0",
|
"version": "1.2.0",
|
||||||
"url": "https://darkwiiplayer.github.io/BetterSelect/"
|
"url": "https://darkwiiplayer.github.io/BetterSelect/"
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,9 @@ export class BetterSelect extends HTMLElement {
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
<dialog id="dialog" part="drop-down">
|
<dialog id="dialog" part="drop-down">
|
||||||
|
<slot name="top"></slot>
|
||||||
<input type="search" id="input" part="search" type="search"></input>
|
<input type="search" id="input" part="search" type="search"></input>
|
||||||
|
<slot name="below-search"></slot>
|
||||||
<ul id="list" part="list"></ul>
|
<ul id="list" part="list"></ul>
|
||||||
<slot name="bottom"></slot>
|
<slot name="bottom"></slot>
|
||||||
<slot id="loading" name="loading"></slot>
|
<slot id="loading" name="loading"></slot>
|
||||||
|
|
Loading…
Reference in a new issue