Type alias BackHandler

BackHandler: (() => boolean)

Type declaration

    • (): boolean
    • A handler to be called when the system intercepts a back action in user navigation.

      If the handler returns false, event bubbling will stop, and no other handlers will be called. Additionally, back navigation will be prevented.

      To perform a programmatic back action, ensure that you clean up any existing backHandlers to prevent creating a loop cycle.

      Returns boolean

Generated using TypeDoc