Skip to main content

Background

Function Background 

Source
pub fn Background(_: BackgroundProps) -> Element
Expand description

A pan/zoom-aware background pattern. Render as a child of crate::Flow.

ยงProps

For details, see the props struct definition.

  • variant : BackgroundVariant
  • gap : f64

    Grid spacing in flow units.

  • size : f64

    Dot radius / line width in flow units.

  • class : Option<String>