Why popup has not hide and show method, i want to save the state


#1

i use poup work with date picker and select picker, but the popup has no hide and show method


#2

No, but you could use a modal, which does have a show/hide method.

http://ionicframework.com/docs/api/service/$ionicModal/

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

#3

the modal is full screen, too big~~


#4

Thats why css is super awesome :smile:


#5

it’s very userful, thanks