Famous / engine

MIT License
1.75k stars 250 forks source link

dynamic update of DOMElement Content #460

Closed amirmata closed 9 years ago

amirmata commented 9 years ago

I am trying to control the content of an animated DOM Element in such way:

DOMelement = new DOMElement(DOMNode) .setProperty('background-color', 'pink') .setProperty('padding', '10px') .setProperty('font-size', '32px') .setContent('

{{Name}}

');

As you've noticed, I am using {{Name}} which is controlled by an Angular module and controller. Everything else in the page is updating but the DOM Element, which literally shows "{{Name}}". {{Name}} is controlled by $scope.

Any suggestions and comments about this issue? Any comments on this issue!

amirmata commented 9 years ago

Well, it looks like it's Chrome problem, since it's working on Firefox!

michaelobriena commented 9 years ago

hey @amirmata it is our older version of the engine but still runs pretty well but if you want a more robust angular integration check out https://github.com/Famous/famous-angular.