# ComponentEventsObserver

## registerOnceForAllComponentEvents

`registerOnceForAllComponentEvents(): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L25)

---

## bindComponent

`bindComponent(component: Component<any>): EventSubscription`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L35)

---

## unmounted

`unmounted(componentId: string): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L49)

---

## notifyComponentDidAppear

`notifyComponentDidAppear(event: ComponentDidAppearEvent): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L53)

---

## notifyComponentDidDisappear

`notifyComponentDidDisappear(event: ComponentDidDisappearEvent): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L57)

---

## notifyNavigationButtonPressed

`notifyNavigationButtonPressed(event: NavigationButtonPressedEvent): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L61)

---

## notifySearchBarUpdated

`notifySearchBarUpdated(event: SearchBarUpdatedEvent): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L65)

---

## notifySearchBarCancelPressed

`notifySearchBarCancelPressed(event: SearchBarCancelPressedEvent): void`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/events/ComponentEventsObserver.ts#L69)

---


