Hi

In the example http://plnkr.co/edit/VFbP9h?p=preview , Pete Bacon Darwin has this:

  scope.$apply(function read() {
    scope.model.x = element.css('top');
    scope.model.y = element.css('left');
  });

Is it necessary to parse the CSS values from the element (as in the example) in order to achieve two-way binding for CCS styles?

Tobi

--
http://tobireif.com

--
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to