plushie/widget/responsive

Responsive layout widget builder.

Types

pub opaque type Responsive

Values

pub fn a11y(r: Responsive, a: a11y.A11y) -> Responsive

Set accessibility properties for this widget.

pub fn build(r: Responsive) -> node.Node

Build the responsive into a renderable Node.

pub fn extend(
  r: Responsive,
  children: List(node.Node),
) -> Responsive

Add multiple child nodes.

pub fn height(r: Responsive, h: length.Length) -> Responsive

Set the height.

pub fn new(id: String) -> Responsive

Create a new responsive builder.

pub fn push(r: Responsive, child: node.Node) -> Responsive

Add a child node.

pub fn width(r: Responsive, w: length.Length) -> Responsive

Set the width.

Search Document