@Kenyon wrote:
I've added the is-enabled property with a function call:
<ion-side-menu side="left" width="205" is-enabled="shouldSideMenuBeEnabled()">
The function is declared in my main app controller.
$scope.shouldSideMenuBeEnabled = function() { return true; }
The issue is that this function is getting called 15-30 times on every screen change. That sounds like animation keyframing or something, but it's definitely not what I expected and it can't be good for performance. I could change it to be a boolean, but that would still be referenced way too often.
Am I doing something wrong?
Thanks
Posts: 4
Participants: 2