-
Notifications
You must be signed in to change notification settings - Fork 0
/
groups-list.html
71 lines (51 loc) · 2.92 KB
/
groups-list.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
<link rel="import" href="bower_components/core-selector/core-selector.html" />
<link rel="import" href="paper-collapse.html" />
<link rel="import" href="x-listitem.html"/>
<polymer-element name="groups-list">
<template >
<div style="padding: 100px;">
<!-- <select id="selectionType">
<option value="single">Single Selection</option>
<option value="multiple">Multiple Selection</option>
</select>
<br><br>
<core-selector selectedAttribute="opened" multi="{{$.selectionType.value === 'multiple' ? true : false}}">
<paper-collapse label="Cloud Storage" labelIcon="cloud">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</paper-collapse>
<paper-collapse label="Extensions" labelIcon="extension">
<ul>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
</ul>
</paper-collapse>
<paper-collapse label="Trends" labelIcon="trending-up">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</paper-collapse>
<paper-collapse label="No Label Icon">
<p>Add content here.</p>
</paper-collapse>
</core-selector> -->
<core-selector selectedAttribute="opened" multi="false">
<template repeat="{{items as item}}">
<paper-collapse label="{{item.artist}}" labelIcon="social:group">
<x-listitem></x-listitem>
</paper-collapse>
</template>
</core-selector>
</div>
</template>
<script>
Polymer('groups-list', {
items: [
{ artist: 'TECH TEAM', album: 'Tech Leads', color: '#f4db33' },
{ artist: 'TESTING TEAM', album: 'TESTING LEADS', color: '#972ff8' },
{ artist: 'Advisors Team ', album: 'Advisors', color: '#7dd6fe' },
{ artist: 'HR Executive', album: 'HR ', color: '#dc3c84' },
{ artist: 'TRavel Team', album: 'Travel Desk', color: '#f4db33' }
],
});
</script>
</polymer-element>