width()
Sets the outer, minimum, and/or maximum width of the element.
width(
width: BindingOrValue<string | number | undefined>,
minWidth?: BindingOrValue<string | number | undefined>,
maxWidth?: BindingOrValue<string | number | undefined>,
): this;
Parameters
- width — The target width, in pixels or string with unit.
- minWidth — The minimum width, in pixels or string with unit.
- maxWidth — The maximum width, in pixels or string with unit.
Return value
The builder instance for chaining.
Related
class ElementBuilder abstractstatic
An abstract base class for UI element builders.
