WEB DEVELOPER SITE
TUTORIALS HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML


 

Ionic - Cordova Media


The Ionic Backdrop will overlay the substance of the screen when connected. It will show up underneath different overlays (popup, stacking, etc...). The $ionicBackdrop.retain() will apply background over the segments, and $ionicBackdrop.release() will evacuate it.

Using Backdrop

We are adding $ionicBackdrop as a reliance to the controller, at that point making the $scope.showBackdrop() work that will call the hold strategy right away. At that point, following three seconds, it will call the discharge strategy. We are utilizing $timeout for the discharge technique
.controller('myCtrl', function($scope, $ionicBackdrop, $timeout) { 

$scope.showBackdrop = function() { 

$ionicBackdrop.retain(); 

$timeout(function() { 

$ionicBackdrop.release(); 

}, 3000); 

}; 

})

Welookups is optimized for learning.© 2018 kumar aditya singh .
All Right Reserved and you agree to have read and accepted our term and condition.
All Rights Reserved.

welookups.com
Javacodegeeks