geoview-core - v2.2.0
    Preparing search index...

    Type Alias FocusItemProps

    Describes which element holds the focus trap and where to restore focus on release.

    type FocusItemProps = {
        activeElementId: string | false;
        callbackElementId: string | false;
    }
    Index

    Properties

    activeElementId: string | false

    The id of the element that currently has focus, or false if no focus trap is active.

    callbackElementId: string | false

    The id of the element to restore focus to when the trap is released, or false.