mirror of
https://github.com/open-wc/locator.git
synced 2026-03-10 08:51:21 +00:00
Component only shown if custom elements are found
This commit is contained in:
@@ -45,13 +45,13 @@ class CustomElementsLocator extends LitElement {
|
||||
</a>
|
||||
</div>
|
||||
<h1>Custom Elements Locator</h1>
|
||||
<share-element></share-element>
|
||||
<div>
|
||||
<input placeholder="Filter custom elements..." @input=${this.handleChange} type="text"/>
|
||||
</div>
|
||||
${this.loaded
|
||||
? this.customElements.length > 0
|
||||
? html`
|
||||
<share-element></share-element>
|
||||
<h2>I found custom elements on </h2>
|
||||
<ul>
|
||||
${this.customElements
|
||||
|
||||
Reference in New Issue
Block a user