Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SplitPositionHandler

Hierarchy

  • SplitPositionHandler

Index

Constructors

Properties

currentMoveIndex: number = 0
splitMoves: MoveEntry[] = []

Methods

  • animationFrame(time: number): void
  • getCurrentPosition(move: MoveEntry): undefined | number
  • moveSplitPos(move: MoveEntry): Promise<number>
  • setSidePanelSize(sidePanel: Widget, targetSize: number, options: SplitPositionOptions): Promise<number>
  • Resize a side panel asynchronously. This function makes sure that such movements are performed one after another in order to prevent the movements from overriding each other. When resolved, the returned promise yields the final position of the split handle.

    Parameters

    Returns Promise<number>

  • setSplitHandlePosition(parent: SplitPanel, index: number, targetPosition: number, options: SplitPositionOptions): Promise<number>
  • Set the position of a split handle asynchronously. This function makes sure that such movements are performed one after another in order to prevent the movements from overriding each other. When resolved, the returned promise yields the final position of the split handle.

    Parameters

    Returns Promise<number>

  • startMove(move: MoveEntry, time: number): void