react-native-navigation的迁移库

NativeCommandsSender.md 2.6KB

NativeCommandsSender

setRoot

setRoot(commandId: string, layout: object): any

source


setDefaultOptions

setDefaultOptions(options: object): any

source


mergeOptions

mergeOptions(componentId: string, options: object): any

source


push

push(commandId: string, onComponentId: string, layout: object): any

source


pop

pop(commandId: string, componentId: string, options: object): any

source


popTo

popTo(commandId: string, componentId: string): any

source


popToRoot

popToRoot(commandId: string, componentId: string): any

source


setStackRoot

setStackRoot(commandId: string, onComponentId: string, layout: object): any

source


showModal

showModal(commandId: string, layout: object): any

source


dismissModal

dismissModal(commandId: string, componentId: string): any

source


dismissAllModals

dismissAllModals(commandId: string): any

source


showOverlay

showOverlay(commandId: string, layout: object): any

source


dismissOverlay

dismissOverlay(commandId: string, componentId: string): any

source


getLaunchArgs

getLaunchArgs(commandId: string): any

source