# ComponentEventsObserver ## registerOnceForAllComponentEvents `registerOnceForAllComponentEvents(): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L27) --- ## bindComponent `bindComponent(component: Component): EventSubscription` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L38) --- ## unmounted `unmounted(componentId: string): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L52) --- ## notifyComponentDidAppear `notifyComponentDidAppear(event: ComponentDidAppearEvent): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L56) --- ## notifyComponentDidDisappear `notifyComponentDidDisappear(event: ComponentDidDisappearEvent): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L60) --- ## notifyNavigationButtonPressed `notifyNavigationButtonPressed(event: NavigationButtonPressedEvent): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L64) --- ## notifySearchBarUpdated `notifySearchBarUpdated(event: SearchBarUpdatedEvent): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L68) --- ## notifySearchBarCancelPressed `notifySearchBarCancelPressed(event: SearchBarCancelPressedEvent): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L72) --- ## notifyPreviewCompleted `notifyPreviewCompleted(event: PreviewCompletedEvent): void` [source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L76) ---