plushie/widget/space

Space widget builder (flexible space for layout).

Types

pub opaque type Space

Values

pub fn a11y(s: Space, a: a11y.A11y) -> Space

Set accessibility properties for this widget.

pub fn build(s: Space) -> node.Node

Build the space into a renderable Node.

pub fn height(s: Space, h: length.Length) -> Space

Set the height.

pub fn new(id: String) -> Space

Create a new space builder.

pub fn width(s: Space, w: length.Length) -> Space

Set the width.

Search Document