-
Notifications
You must be signed in to change notification settings - Fork 0
/
paper-breadcrumb-tab.html
78 lines (67 loc) · 1.67 KB
/
paper-breadcrumb-tab.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
69
70
71
72
73
74
75
76
77
78
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../vaadin-themable-mixin/vaadin-themable-mixin.html">
<link rel="import" href="./themes/paper-breadcrumb-tab-styles.html">
<dom-module id="paper-breadcrumb-tab">
<!-- <template>
<style>
:host {
display: block;
}
.tab-content:before {
content: '';
position: absolute;
top: 4px;
right: -13px;
width: 26px;
height: 26px;
z-index: 2;
background: #83b5ed;
border-radius: 0 4px 0 0;
box-shadow: #579ae6 3px -3px 0;
transform: rotate(45deg);
}
</style>
</template> -->
<script>
(function() {
const Cls = customElements.get('paper-tab');
/**
* ## PaperBreadcrumbTab
*
* `<paper-breadcrumb-tab>` describe...
*
* @memberof Preignition
* @customElement
* @polymer
* @demo
**/
class PaperBreadcrumbTab extends
Vaadin.ThemableMixin(Cls) {
static get is() {
return 'paper-breadcrumb-tab';
}
static get properties() {
return {
/*
* `noBread` set true to hide breadcrumb
*/
noBread: {
type: Boolean,
value: false,
reflectToAttribute: true
}
};
}
}
customElements.define(PaperBreadcrumbTab.is, PaperBreadcrumbTab);
if (!window.Preignition) {
window.Preignition = {};
}
/*
* @namespace Preignition
*/
window.Preignition.PaperBreadcrumbTab = PaperBreadcrumbTab;
})();
</script>
</dom-module>