SectionBuilder
Defined in: sdk/js/src/builders/layout.ts:46
Type 9: one to three texts with a button or thumbnail beside them.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SectionBuilder():
SectionBuilder
Returns
Section titled “Returns”SectionBuilder
Methods
Section titled “Methods”addTextDisplayComponents()
Section titled “addTextDisplayComponents()”addTextDisplayComponents(…
texts):this
Defined in: sdk/js/src/builders/layout.ts:50
Parameters
Section titled “Parameters”Returns
Section titled “Returns”this
setButtonAccessory()
Section titled “setButtonAccessory()”setButtonAccessory(
button):this
Defined in: sdk/js/src/builders/layout.ts:54
Parameters
Section titled “Parameters”button
Section titled “button”Returns
Section titled “Returns”this
setThumbnailAccessory()
Section titled “setThumbnailAccessory()”setThumbnailAccessory(
thumbnail):this
Defined in: sdk/js/src/builders/layout.ts:58
Parameters
Section titled “Parameters”thumbnail
Section titled “thumbnail”Returns
Section titled “Returns”this
toWit()
Section titled “toWit()”toWit():
Section
Defined in: sdk/js/src/builders/layout.ts:62
Returns
Section titled “Returns”Section