vira - v27.0.0
    Preparing search index...

    Type Alias PopoverManagerOptions

    Options for PopoverManager.

    type PopoverManagerOptions = {
        minDownwardsSpace: number;
        supportNavigation: boolean;
        verticalDiffThreshold: number;
    }
    Index

    Properties

    minDownwardsSpace: number

    The minimum number of pixels for allowing the popover to go downwards. If the downward available space is less than this, and if the upwards available space is verticalDiffThreshold more than the downwards space, the popover will be directed upwards.

    Equation:

    const directUpwards =
        downwardsSpace < minDownSpace &&
        upwardsSpace > DownwardsSpace + verticalDiffThreshold;
    
    200
    
    supportNavigation: boolean

    Supports navigation of the popover via the device-navigation package.

    true
    
    verticalDiffThreshold: number

    The number of pixels required for the upwards available space to be bigger than the downwards available space before directing the popover upwards.

    Equation:

    const directUpwards =
        downwardsSpace < minDownSpace &&
        upwardsSpace > DownwardsSpace + verticalDiffThreshold;
    
    20