SPARQL Studio API / SparqlUtils / LspErrorNotification
Interface: LspErrorNotification
Defined in: sparql-utils/src/errorNotification.ts:169
A reusable bottom-right error notification bound to one editor (host) element.
Methods
show()
show(
message):void
Defined in: sparql-utils/src/errorNotification.ts:171
Parse message, render it, make the notification visible and (re)start the auto-dismiss timer.
Parameters
message
string
Returns
void
dismiss()
dismiss():
void
Defined in: sparql-utils/src/errorNotification.ts:173
Hide the notification immediately.
Returns
void
destroy()
destroy():
void
Defined in: sparql-utils/src/errorNotification.ts:175
Remove the notification element and cancel any pending timer.
Returns
void