Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Modal- keep navbar/menu static

$
0
0

@yianni wrote:

Hi,

Very simply- I want to put my page into a modal-slide up,that keeps the menu bar static.

In other words- when the modal opens, a menu/top bar does not slide up.

Here is my directive:

$ionicModal.fromTemplateUrl('app/components/stores/stores.html', {
scope: $scope,
animation: 'slide-in-up'
}).then(function(modal){$scope.modal = modal;});

$scope.refineevent = function(){$scope.modal.show();};

$scope.closeModal = function(){$scope.modal.hide();};

$scope.$on('modal.shown', function(){console.log('Modal is shown!');});

}

Can anyone please advise? Been stuck for weeks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>