margin()
Sets the margin around the element.
margin(margin: BindingOrValue<StyleOverrides.Offsets | undefined>): this;
Parameters
- margin — An object with offsets (
top,bottom,x, etc.), or a single number.
Return value
The builder instance for chaining.
Related
class ElementBuilder abstractstatic
An abstract base class for UI element builders.
