EdgeSelector: {
    type: EdgeType;
    x: AxisDirection;
    y: AxisDirection;
}

Describes the selected edge as {x, y}, specifically: (top-left, top-right, bottom-left, bottom-right, top, left, right, bottom)

Type declaration

  • type: EdgeType

    Which type of edge to snap to (Content = The edges of the content, ScrollLimit = The edges of the scrollable region)

  • x: AxisDirection

    Selects the x axis direction (left = -1, none = 0, right = 1)

  • y: AxisDirection

    Selects the y axis direction (bottom = -1, none = 0, top = 1)