Type Alias ShowPopUpResult

ShowPopUpResult: {
    popDown: boolean;
    positions: Record<"root" | "container" | "diff", PositionRect>;
}

Output type from PopUpManager.showPopUp

Type declaration

  • popDown: boolean

    Indicates if the "pop up" should pop in the downwards direction or not. If not, it should pop in the upwards direction. This is determined by how much space is available on either side of the root element.

  • positions: Record<"root" | "container" | "diff", PositionRect>