hey guys,
i made this:
.directive('autoScroll', [()->
>
> link: (scope, elm, attrs)->
>
> scope.$watch attrs.autoScroll, (
>
> console.log value
$('#applog').parent().animate scrollTop: $('#applog')[0].scrollHeight, 0
> ])
>
>
console.log value fine (and i can see it in the console...wuhu)
but the jquery animation doesnt work...why?
if i execute the animation through the console it works O_O but not in this
directive?????
i dont understand this....almost same shit but i dont work O_O
--
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.