plushie/prop/anchor

Anchor type for scrollable snap points.

Types

pub type Anchor {
  AnchorStart
  AnchorEnd
}

Constructors

  • AnchorStart
  • AnchorEnd

Values

pub fn to_prop_value(a: Anchor) -> node.PropValue

Encode an Anchor to its wire-format PropValue.

pub fn to_string(a: Anchor) -> String

Convert an Anchor to its wire-format string representation.

Search Document