PopoverSuggest.renderSuggestion method
PopoverSuggest › renderSuggestion
Official
Render the suggestion.Signature:
renderSuggestion(value: T, el: HTMLElement): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| value | T | The value to render. |
| el | HTMLElement | The element to render the suggestion to. |
Returns: void
Example:
class MyPopoverSuggest extends PopoverSuggest<string> { public override renderSuggestion(value: string, el: HTMLElement): void { el.createEl('strong', { text: value }); }}