Return values from PopOverController to parent

Any idea how to return a value from a popOverController to a presenter/parent?

Maybe with Observables?

use the onDismiss

From the documentation:

The onDidDismiss function can be called to perform an action after the popover is dismissed.

see the test for the Modal Component for an example

https://github.com/driftyco/ionic/blob/master/src/components/modal/test/basic/index.ts

2 Likes