Component can have Component Slots inside layout container controls: vertical_box
, horizontal_box
, form
, and grid
.
Simply designate a layout container control as a Component Slot inside a Custom Control class body block by passing it a slot: slot_name
option (in the example below, we have a :header
slot and a :footer
slot):
body {
vertical_box {
vertical_box(slot: :header) {