Skip to content

DiscordEmbedField

  • LitElement

new DiscordEmbedField(): DiscordEmbedField

DiscordEmbedField

LitElement.constructor

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.



Whether this field should be displayed inline or not.


The index of this inline field

  • This defines the position of this inline field. 1 is left, 2 is middle and 3 is right.
  • one of [1, 2, 3]
1

LightTheme.lightTheme

checkInlineIndex(): void

void