ActionsBlock
class ActionsBlock implements BlockContract
Properties
| protected string|null | $blockId | A string acting as a unique identifier for a block. |
|
| protected ElementContract[] | $elements | An array of interactive element objects - buttons, select menus, overflow menus, or date pickers. |
Methods
id(string $id)
Set the block identifier.
button(string $text)
Add a button element to the block.
array
toArray()
Get the instance as an array.
Details
at line 37
ActionsBlock
id(string $id)
Set the block identifier.
at line 47
ButtonElement
button(string $text)
Add a button element to the block.
at line 57
array
toArray()
Get the instance as an array.