-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbar-control.html
50 lines (43 loc) · 1.09 KB
/
bar-control.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
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bar-selector.html">
<dom-module id="bar-control">
<style>
/* CSS rules for your element */
.barSelector {
background-color: pink;
padding: 0 38%;
}
.lollipopControl {
background-color: yellow;
padding: 0 40%;
}
paper-icon-button {
width:80px;
height: 80px;
}
</style>
<template>
<!-- local DOM for your element -->
<!-- data bindings in local DOM -->
<div class="barSelector">
<bar-selector></bar-selector>
</div>
<div class="lollipopControl">
<paper-icon-button icon="av:play-arrow"></paper-icon-button>
<paper-icon-button icon="av:pause"></paper-icon-button>
</div>
</template>
<script>
// element registration
Polymer({
is: "bar-control",
// add properties and methods on the element's prototype
properties: {
// declare properties for the element's public API
beatBtn: {
type: Object
}
}
});
</script>
</dom-module>