repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
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
blob
4bbdec5be29806fec3c650db9ae37a2345afd340
1
Polymer({
2
3
is: 'paper-tab',
4
5
behaviors: [
6
Polymer.IronControlState
7
],
8
9
properties: {
10
11
/**
12
* If true, ink ripple effect is disabled.
13
*
14
* @attribute noink
15
*/
16
noink: {
17
type: Boolean,
18
value: false
19
}
20
21
},
22
23
hostAttributes: {
24
role: 'tab'
25
},
26
27
listeners: {
28
down: '_onDown'
29
},
30
31
get _parentNoink () {
32
var parent = Polymer.dom(this).parentNode;
33
return !!parent && !!parent.noink;
34
},
35
36
_onDown: function(e) {
37
this.noink = !!this.noink || !!this._parentNoink;
38
}
39
});