Ionic 5 button in iframe to call outside (parent) JavaScript function.

Job ID: 34370020

Budget: $250 – $750 USD

We have an Ionic 5 app provides an embedded page in iframe, which to be included by client's page. The page has a button need to call the parent page's JavaScript function. Need a working example.
Related categories: JavaScript HTML5 jQuery / Prototype PhoneGap AngularJS