Skip to content

DiscordEmbedField

Extends

  • LitElement

Implements

Constructors

new DiscordEmbedField()

new DiscordEmbedField(): DiscordEmbedField

Returns

DiscordEmbedField

Inherited from

LitElement.constructor

Accessors

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


inline

Whether this field should be displayed inline or not.


inlineIndex

The index of this inline field

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

1

lightTheme

Implementation of

LightTheme.lightTheme

Methods

checkInlineIndex()

checkInlineIndex(): void

Returns

void