plushie/prop/position

Position type for tooltip and overlay placement.

Types

pub type Position {
  Top
  Bottom
  PositionLeft
  PositionRight
  FollowCursor
}

Constructors

  • Top
  • Bottom
  • PositionLeft
  • PositionRight
  • FollowCursor

Values

pub fn to_prop_value(p: Position) -> node.PropValue

Encode a Position to its wire-format PropValue.

pub fn to_string(p: Position) -> String

Convert a Position to its wire-format string representation.

Search Document