Can someone help me with resizing a pop up? I've been struggling to get it right.
This is the popup template in question:
<ion-view>
<ion-content scroll="false" class="">
test
</ion-content>
</ion-view>
Here's how I'm trying to open the popup using my controller:
$scope.openFilter = function() {
var popupFilter = $ionicPopup.prompt({
templateUrl: 'templates/popup-template-filter.html',
scope: $scope
})
$scope.close = function() {
popupFilter.close();
}
}
In my CSS file, I managed to resize the popup successfully with this code:
.popup {
width: 100% !important;
height: 180px !important;
position: fixed !important;
bottom: 0 !important;
}
However, I have multiple popups in my project and I want to customize them individually.
Also, I'm wondering how to close the popup. I've found examples online, but none of them involve customizing the template like mine.
Any suggestions or guidance would be appreciated!