react-native-navigation的迁移库

ComponentEventsObserver.md 1.8KB

ComponentEventsObserver

registerOnceForAllComponentEvents

registerOnceForAllComponentEvents(): void

source


bindComponent

bindComponent(component: Component<any>): EventSubscription

source


unmounted

unmounted(componentId: string): void

source


notifyComponentDidAppear

notifyComponentDidAppear(event: ComponentDidAppearEvent): void

source


notifyComponentDidDisappear

notifyComponentDidDisappear(event: ComponentDidDisappearEvent): void

source


notifyNavigationButtonPressed

notifyNavigationButtonPressed(event: NavigationButtonPressedEvent): void

source


notifySearchBarUpdated

notifySearchBarUpdated(event: SearchBarUpdatedEvent): void

source


notifySearchBarCancelPressed

notifySearchBarCancelPressed(event: SearchBarCancelPressedEvent): void

source


notifyPreviewCompleted

notifyPreviewCompleted(event: PreviewCompletedEvent): void

source