function spacerBuilder()
Creates a view builder for a spacer element.
function spacerBuilder(
minWidth?: BindingOrValue<string | number>,
minHeight?: BindingOrValue<string | number> | undefined,
): SpacerBuilder;
Note
The view builder automatically calls flex() if no dimensions are specified, so the spacer will grow to fill the available space.
Parameters
- minWidth — The minimum width of the spacer, in pixels or a string with unit.
- minHeight — The minimum height of the spacer, in pixels or a string with unit; defaults to
minWidthif not specified.
Return value
A builder object for configuring the spacer.
Related
class UISpacer
A view class that represents an empty control without any content.class UISpacer
A view class that represents an empty control without any content.
