TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Animation in AngularJS

110 点作者 gsklee将近 12 年前

11 条评论

randallu将近 12 年前
Saying &quot;Animation in jQuery relies on CPU and Memory&quot; is silly if you use translateZ(0) to create a composited layer which uses a tremendous amount more memory.<p>WebKit at least will create a composited layer for the duration of a transition&#x2F;animation all by itself -- if you do choose to use translateZ(0) everywhere, understand that it consumes texture memory the whole time the element is in the DOM (and not display:none) and maybe has a backing store in heap as well. So if you want your page to not crash Mobile Safari on older Apple devices then use it judiciously.
评论 #5943458 未加载
ok_craig将近 12 年前
I&#x27;m excited there&#x27;s going to be an ngAnimate for animations in AngularJS, but I feel compelled to comment mostly to say that this presentation is awesomely done. Good job.
评论 #5941644 未加载
kailuowang将近 12 年前
With ng-animate, angular completes the circle of defining HTML DOM behavior in a pure declarative way. I can&#x27;t wait for this to go to the stable branch.
评论 #5941308 未加载
评论 #5941719 未加载
评论 #5941265 未加载
评论 #5943475 未加载
mr_noah将近 12 年前
I&#x27;m not familiar with Angular.js. But I am very familiar with CSS3, jQuery and the Greensock animation platform. Greensock (TweenMax) is without a doubt the best animation platform I&#x27;ve ever used. CSS3 animation gives you nowhere near the amount of fine grain control over animations that greensock provides. CSS3 is great for simple stuff, but for complex reactive timelines it&#x27;s basically impossible to work with. jQuery is OK for basic things that don&#x27;t need the performance, but is clunky is feels restrictive.<p><a href="http://www.greensock.com/transitions/" rel="nofollow">http:&#x2F;&#x2F;www.greensock.com&#x2F;transitions&#x2F;</a>
navs将近 12 年前
The anti-IE in this presentation is strong. Or rather, the anti pre-IE9. I have multiple clients that simply NEED me to support IE and be reasonably close in interaction to their modern browser counterparts. Banks are one of them. CSS3 animation with fallback is the key.
评论 #5950964 未加载
lenkite将近 12 年前
Ok, I am lost, but all I see is the definition of .fade CSS class using the transition&#x2F;transform properties - not sure what this has to do with angularjs.
评论 #5941346 未加载
akivabamberger将近 12 年前
One thing that&#x27;s still missing is editing CSS animations in angularJS. I&#x27;m finding that I have to make a lot of separate animations (hardcoded keyframes) and use those in code. No way to dynamically change the animation in the app.
melling将近 12 年前
IE10 is over 10% market share. It&#x27;s great that Microsoft is pushing the auto-update. If you don&#x27;t care about the straglers, you&#x27;ll be able to do some really cool stuff across all browsers and leave the legacy behind.
评论 #5942843 未加载
CountHackulus将近 12 年前
Yup, CSS animations are easier to both write and use, and are super fast. Except on iOS6+ where a long-standing bug has made them nearly unusably slow.
webo将近 12 年前
I haven&#x27;t seen slid.es before. This is awesome.
评论 #5941931 未加载
评论 #5942335 未加载
gbadman将近 12 年前
PSA: Hit the &#x27;eye&#x27; icon on the right, &#x27;Run&#x27; on the top or CTRL&#x2F;CMD-ENTER to toggle the preview pane in the demos.