-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui-tabs.html
68 lines (59 loc) · 1.54 KB
/
ui-tabs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../ui-behaviors/component-behavior.html">
<link rel="import" href="../ui-behaviors/tabs.html">
<script>
Polymer({
is: 'ui-tabs',
behaviors:[Elliptical.ComponentBehavior,Elliptical.Behaviors.Tabs],
properties: {
border: {
type:Boolean,
value:false
},
borderTop: {
type:Boolean,
value:false
},
borderLeft: {
type:Boolean,
value:false
},
minHeight: {
value:null
},
animateSections: {
type:Boolean,
value:false
},
duration: {
value:500
},
flex: {
type:Boolean,
value:false
},
preventDefault: {
type:Boolean,
value:false
},
autoHide: {
type:Boolean,
value:true
},
stopPropagation: {
type:Boolean,
value:true
}
},
ready:function(){
this._setData();
this._getTabs();
this._initActiveTab();
this._getContentSections();
this._minHeight();
this._setStyles();
this._removeStackedTabs();
this.__events();
}
});
</script>