Trevixal API
Preparing search index...
@trevixal/ui
SuggestionPopup
Interface SuggestionPopup<T>
interface
SuggestionPopup
<
T
>
{
element
:
HTMLElement
;
destroy
()
:
void
;
update
(
state
:
SuggestionListState
<
T
>
|
null
)
:
void
;
}
Type Parameters
T
Index
Properties
element
Methods
destroy
update
Properties
Readonly
element
element
:
HTMLElement
Methods
destroy
destroy
()
:
void
Returns
void
update
update
(
state
:
SuggestionListState
<
T
>
|
null
)
:
void
Feed the
onState
callback of the slash or emoji trigger straight in here.
Parameters
state
:
SuggestionListState
<
T
>
|
null
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
element
Methods
destroy
update
Trevixal API
Loading...
Feed the
onStatecallback of the slash or emoji trigger straight in here.