0
我刚开始学习聚合物,并试图在纸张对话框中放入和退出动画。它看起来像条目动画完美,但退出动画不是。我正在通过手动编码jQuery来做一个解决方法,但我想使用内置的纸质对话框功能。聚合物纸对话框退出动画不起作用
谢谢。
<paper-dialog id="dialog" entry-animation="slide-from-top-animation" exit-animation="fade-out-animation" class="dialogstyle" no-cancel-on-outside-click no-cancel-on-esc-key>
<div class="buttons">
<paper-button id="closebutton" dialog-dismiss autofocus><i class="fa fa-times" aria-hidden="true"></i></paper-button>
</div>
<strong>content here</strong>
</paper-dialog>