Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

Open popup from multiple places

$
0
0

@CodeAbuser wrote:

Is there a way to declare a popup as a $scope object i.e. $scope.myPopup = $ionicPopup({ MyConfigStuffHere}) and then be able to open the popup by calling it elsewhere in the code i.e. $scope.myPopup.show()?

Whenever i've attempted this i get "$scope.myPopup.show() is not a method"

Or do you HAVE to declare the popup AND call the "show" method all at once? I would think this object could/should be reusable in such a manner.

thanks for any help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



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