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

Ionic and GSAP - Data binding doesn't work

$
0
0

@ukdavo wrote:

In my app I've got the following:

a) Basic Angular binding between buttons and functions that are exposed via $scope. This works absolutely fine. I click on a button, it fires a function to update a value & the updated value displays on the page.

b) SVG elements that are manipulated using GSAP. I have some draggable elements that have some eventhandlers configured. For example, when using onClick() I'm calling a function called $scope.displayPlayerProperties(this.target); This function updates some variables that are exposed via $scope. The variables are bound to page elements. The problem is that the updated values do not display on the page - even though I see that values have been updated when observing them via the JS console. Its as if the data binding has broken. Any ideas?

Cheers

Mark

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49316

Trending Articles



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