-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwid-card-support-ticket.js
More file actions
56 lines (44 loc) · 962 Bytes
/
wid-card-support-ticket.js
File metadata and controls
56 lines (44 loc) · 962 Bytes
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
'use strict';
(function () {
Polymer({
is: 'wid-card-support-ticket',
behaviors: [Polymer.WidCardStandardBehavior, Polymer.WidCardWeightBehavior, Polymer.WidCardSubscriptionsBehavior, Polymer.WidCardThemeBehavior],
properties: {
/**
* Name
* @type {String}
*/
name: {
type: String,
value: 'Support'
},
/**
* icon
* @type {String}
*/
icon: {
type: String
},
/**
* tickets
* @type {Object}
*/
tickets: {
type: Object
}
},
_iconPath: function _iconPath(value) {
return '/images/cards/' + value;
},
_ticketId: function _ticketId(value) {
return '#' + value;
},
_rowClass: function _rowClass(index) {
var odd = '';
if (index % 2 === 0) {
odd = 'odd';
}
return odd + ' flex layout horizontal center-center';
}
});
})();