Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

screenOptions

screenOptions: { hideHeaderShadow: { headerShadowVisible: boolean } } = ...

Type declaration

  • hideHeaderShadow: { headerShadowVisible: boolean }
    • headerShadowVisible: boolean

Functions

Private _push

  • _push<T>(name: T, params?: RootStackParamList[T]): void
  • Internal function, this method is not recommended

    internal

    Type parameters

    • T: keyof RootStackParamList

    Parameters

    • name: T

      page

    • Optional params: RootStackParamList[T]

    Returns void

navigate

  • navigate<T>(name: T, params?: RootStackParamList[T]): void
  • Type parameters

    • T: keyof RootStackParamList

    Parameters

    • name: T
    • Optional params: RootStackParamList[T]

    Returns void

navigateToHomeScreen

  • navigateToHomeScreen(): void
  • Returns void

navigationGoBack

  • navigationGoBack(): void
  • Returns void

push

  • push(name: string, params?: Record<string, any>): void
  • Recommend this method. Load screen as navigation push animation effect

    example
    push(
    'Home',
    {
    userId: '123',
    extra: {
    // ...
    }
    }
    );

    Parameters

    • name: string

      The screen name which been registered in business logic

    • Optional params: Record<string, any>

      Parameters passed to the target screen

    Returns void

Generated using TypeDoc, the 2021/11/30 at 下午2:46:41