Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-dialog/paper-dialog-extracted.js

Issue 2963213002: Polymer: Remove unused paper-dialog and paper-dialog-behavior. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 (function() {
2
3 Polymer({
4
5 is: 'paper-dialog',
6
7 behaviors: [
8 Polymer.PaperDialogBehavior,
9 Polymer.NeonAnimationRunnerBehavior
10 ],
11
12 listeners: {
13 'neon-animation-finish': '_onNeonAnimationFinish'
14 },
15
16 _renderOpened: function() {
17 this.cancelAnimation();
18 this.playAnimation('entry');
19 },
20
21 _renderClosed: function() {
22 this.cancelAnimation();
23 this.playAnimation('exit');
24 },
25
26 _onNeonAnimationFinish: function() {
27 if (this.opened) {
28 this._finishRenderOpened();
29 } else {
30 this._finishRenderClosed();
31 }
32 }
33
34 });
35
36 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698