I'm trying to modify the size of a pop up. But I'm not having success.
I have this popup template:
<ion-view>
<ion-content scroll="false" class="">
test
</ion-content>
</ion-view>
And in my controller:
$scope.openFilter = function() {
var popupFilter = $ionicPopup.prompt({
templateUrl: 'templates/popup-template-filter.html',
scope: $scope
})
$scope.close = function() {
popupFilter.close();
}
}
In my Sass,i tried this and it worked:
.popup {
width: 100% !important;
height: 180px !important;
position: fixed !important;
bottom: 0 !important;
}
However I have more than one popup in my project, and I would like to individually modify.
And my second question how can I close the popup? I found examples but none of popup with customizable template
Thankss