e.preventDefault()}>
${this.items.length
? this.items.map(
(item, index) => html`
{
this.activeIndex = index;
}}
@click=${() => this.selectCurrent()}
>
${item.label}
${item.hint ? html`${item.hint}` : ''}
`
)
: html`
No results
`}
`;
}
}
declare global {
interface HTMLElementTagNameMap {
'nile-wysiwyg-suggest-list': NileWysiwygSuggestList;
}
}