mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix documentation
This commit is contained in:
@@ -280,7 +280,9 @@ Remember that custom tags are rendered in a shadow root. To style them, you can
|
||||
</wa-select>
|
||||
|
||||
<script type="module">
|
||||
await customElements.whenDefined("wa-select")
|
||||
const select = document.querySelector('.custom-tag');
|
||||
await select.updateComplete
|
||||
|
||||
select.getTag = (option, index) => {
|
||||
// Use the same icon used in wa-option
|
||||
|
||||
Reference in New Issue
Block a user