DiscordEmbedField
Extends
Section titled “Extends”LitElement
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DiscordEmbedField():
DiscordEmbedField
Returns
Section titled “Returns”DiscordEmbedField
Inherited from
Section titled “Inherited from”LitElement.constructor
Accessors
Section titled “Accessors”embedFieldEmojisMap
Section titled “embedFieldEmojisMap”An emoji that is prefixed to fieldTitle.
This should be keyed as { key: { emojiData } }
wherein key
should occur in the fieldTitle.
By default this component will use the global emojis from getGlobalEmojiUrl, however on SSR frameworks like Nuxt 3 global config doesn’t work so we provide this as an alternative method.
fieldTitle
Section titled “fieldTitle”inline
Section titled “inline”Whether this field should be displayed inline or not.
inlineIndex
Section titled “inlineIndex”The index of this inline field
Remarks
Section titled “Remarks”- This defines the position of this inline field. 1 is left, 2 is middle and 3 is right.
- one of
[1, 2, 3]
Default Value
Section titled “Default Value”1
lightTheme
Section titled “lightTheme”Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”checkInlineIndex()
Section titled “checkInlineIndex()”checkInlineIndex():
void
Returns
Section titled “Returns”void