Type alias DropdownPosition

DropdownPosition: {
    toTop: boolean;
    top: number;
    left: number;
    width: number;
    height: number;
}

The current dropdown position.

Type declaration

  • toTop: boolean

    Whether the dropdown is shown with top direction (ie above the cursor)

  • top: number

    Position relative to the container top

  • left: number

    Position relative to the container left

  • width: number

    Width of the dropdown

  • height: number

    Total height of the dropdown container

    Note

    This height is fixed regardless of the number of items in the suggestions

Note

Mostly internal unless you want to implement a custom dropdown