Enode — API Reference
    Preparing search index...

    Function previousViewTitle

    • The title of the view underneath a pushed view — the label of its text back button. null at the root or when that view has no title (the button then reads "Back").

      Parameters

      • titles: ReadonlyMap<number, string>

        header titles registered per depth (see DrawerViewHeader)

      • depth: number

        depth of the view whose back button is rendered

      Returns string | null