jQuery - Bind an event to iframe element

Binding an event to an iframe element is possible using contents() method. Here i am attaching an keyup event to a body field inside an iframe. Checkout the sample code below...
Identifying app resume event in ionic - android

We can use the $ionicPlatform to listen the resume event of an ionic application. This event fires once the application resumes. Have a look at the following sample code...