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

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

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 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({
4
5 is: 'paper-tab',
6
7 behaviors: [
8 Polymer.IronControlState
9 ],
10
11 properties: {
12
13 /**
14 * If true, ink ripple effect is disabled.
15 *
16 * @attribute noink
17 */
18 noink: {
19 type: Boolean,
20 value: false
21 }
22
23 },
24
25 hostAttributes: {
26 role: 'tab'
27 },
28
29 listeners: {
30 down: '_onDown'
31 },
32
33 get _parentNoink () {
34 var parent = Polymer.dom(this).parentNode;
35 return !!parent && !!parent.noink;
36 },
37
38 _onDown: function(e) {
39 this.noink = !!this.noink || !!this._parentNoink;
40 }
41 });
42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698