InterviewSolution
| 1. |
What is $ionic backdrop? |
|
Answer» $ionicBackdrop performs shows and hides backdrop over UI. Appears behind popups, loading, and other overlays. Usually multiple UI components REQUIRE a backdrop but only one backdrop is needed in DOM. Each COMPONENT which requires backdrop to be shown calls $ionicVackdrop.retain() when it WANTS to backdrop then $ionicBackdrop.release() when it is done with the backdrop. Method $ionicBackdrop.retain() and $ionicBackdrop.release() is used for backdrop. $ionicBackdrop.retain() is used to apply overlay over the content. $ionicBackdrop.release() is used to REMOVE Ionic Backdrop from content. Each time when $ionicBackdrop.retain() is CALLED $ionicBackdrop.release() method is called. |
|