CreateContainer
Defined in: packages/builders/src/components.ts:507
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CreateContainer():
CreateContainer
Returns
Section titled “Returns”CreateContainer
Methods
Section titled “Methods”addComponents()
Section titled “addComponents()”addComponents(…
components):this
Defined in: packages/builders/src/components.ts:511
Parameters
Section titled “Parameters”components
Section titled “components”…object[]
Returns
Section titled “Returns”this
setAccentColor()
Section titled “setAccentColor()”setAccentColor(
color):this
Defined in: packages/builders/src/components.ts:517
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”this
setSpoiler()
Section titled “setSpoiler()”setSpoiler(
spoiler?):this
Defined in: packages/builders/src/components.ts:527
Marks the whole container as a spoiler (blurred until clicked).
Parameters
Section titled “Parameters”spoiler?
Section titled “spoiler?”boolean = true
Returns
Section titled “Returns”this
toJSON()
Section titled “toJSON()”toJSON():
APIContainerComponent
Defined in: packages/builders/src/components.ts:531