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

Side by Side Diff: third_party/polymer/components-chromium/paper-tabs/paper-tab-extracted.js

Issue 1215543002: Remove Polymer 0.5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test Created 5 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
2
3 Polymer('paper-tab', {
4
5 /**
6 * If true, ink ripple effect is disabled.
7 *
8 * @attribute noink
9 * @type boolean
10 * @default false
11 */
12 noink: false,
13
14 eventDelegates: {
15 down: 'downAction',
16 up: 'upAction'
17 },
18
19 downAction: function(e) {
20 if (this.noink || (this.parentElement && this.parentElement.noink)) {
21 return;
22 }
23 this.$.ink.downAction(e);
24 },
25
26 upAction: function() {
27 this.$.ink.upAction();
28 },
29
30 cancelRipple: function() {
31 this.$.ink.upAction();
32 }
33
34 });
35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698