【问题标题】:Polymer "animate" function no longer working in Chrome聚合物“动画”功能不再在 Chrome 中工作
【发布时间】:2016-10-27 08:01:58
【问题描述】:

Paper-dialog 使用进入/退出动画,但 Chrome 已弃用此功能。

有解决办法吗???我需要更新 web-animations-js 吗?

<paper-dialog id="help" entry-animation="scale-up-animation" exit-animation="fade-out-animation" without-backdrop>

我在尝试点击后在带有动画的页面上收到以下错误:

未捕获的类型错误:无法在“元素”上执行“动画”:“函数 (a){return a}”不是 easing(...) 的有效值

【问题讨论】:

    标签: javascript google-chrome polymer web-animations


    【解决方案1】:

    更新 web-animations-js。

    https://github.com/web-animations/web-animations-js/releases

    尝试使用 2.2.1 版本。

    【讨论】:

    • 是的。我们不得不从 Polymer 重新下载。解决了一切。谢谢朋友
    猜你喜欢
    • 2015-08-19
    • 2014-03-15
    • 1970-01-01
    • 2015-08-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多