Service workers: Allow HTTPS pages arrived at via HTTP redirect to use SW
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-tabs / paper-tab-extracted.js
blob4bbdec5be29806fec3c650db9ae37a2345afd340
1 Polymer({
3     is: 'paper-tab',
5     behaviors: [
6       Polymer.IronControlState
7     ],
9     properties: {
11       /**
12        * If true, ink ripple effect is disabled.
13        *
14        * @attribute noink
15        */
16       noink: {
17         type: Boolean,
18         value: false
19       }
21     },
23     hostAttributes: {
24       role: 'tab'
25     },
27     listeners: {
28       down: '_onDown'
29     },
31     get _parentNoink () {
32       var parent = Polymer.dom(this).parentNode;
33       return !!parent && !!parent.noink;
34     },
36     _onDown: function(e) {
37       this.noink = !!this.noink || !!this._parentNoink;
38     }
39   });