Ionic 4 Popover events: close popover after timeout


#1

I am trying to close a popover automatically after a timeout, so I thought the “ionPopoverDidPresent”-Event would come in handy (when fired, call a function with a dismiss and timeout). But I am not sure how to access this event.
I am pretty new to ionic, so maybe also my thinking is wrong and there is a better way.
Thanks!