algonim
    Preparing search index...

    Class SplitPane

    Pane that displays two other panes within itself. Be careful not to create an infinitely recursing hierarchy!

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    axis: "horizontal" | "vertical" = 'horizontal'

    Axis along which the plane is split. Mirrors vim's behavior, meaning the separator line's orientation will match that of the split. In other words, a vertical split positions the subpanes side-by-side.

    ratio: number = 0.5

    Controls the proportions of the split. Values closer to 0 reduce the first pane's size, while values closer to 1 increase it.

    first: Pane | null = null

    The left or top pane, depending on the split axis.

    axis

    second: Pane | null = null

    The right or bottom pane, depending on the split axis.

    axis

    Methods