Enode — API Reference
    Preparing search index...

    Function drawerDismissAction

    • What a user-initiated dismiss (X / Escape / hardware Back / backdrop) does: pop the top pushed view, hand the decision to the host's onDismissAttempt, or close the drawer.

      Parameters

      • hasActivePushed: boolean

        a pushed view is on top (Escape / Back pop it first)

      • guarded: boolean

        the host passed onDismissAttempt

      Returns "pop" | "attempt" | "close"