DiscordMessages
Extends
LitElement
Implements
Constructors
new DiscordMessages()
new DiscordMessages():
DiscordMessages
Returns
Inherited from
LitElement.constructor
Other
compactMode
Whether to use compact mode or not.
lightTheme
Whether to use light theme or not.
Implementation of
noBackground
Whether to exclude the background or not.
lifecycle
connectedCallback()
connectedCallback():
void
Invoked when the component is added to the document’s DOM.
In connectedCallback()
you should setup tasks that should only occur when
the element is connected to the document. The most common of these is
adding event listeners to nodes external to the element, like a keydown
event handler added to the window.
Typically, anything done in connectedCallback()
should be undone when the
element is disconnected, in disconnectedCallback()
.
Returns
void
Overrides
LitElement.connectedCallback