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

    Function handleEscapeKey

    • Callback function which is fired when keyboard key is pressed.

      Parameters

      • key: string

        The keyboard key pressed by user

      • callbackId: string

        The Id of element which init the focus trap

      • OptionalisFocusTrapped: boolean

        Optional, component is focus trapped enabled

      • Optionalcb: () => void

        Optional callback function to be fired

      Returns void