/
index.html
49 lines (40 loc) · 2.11 KB
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="import" href="https://bharatrajan.github.io/polymer-color-picker/bower_components/polymer/polymer.html">
<link rel="import" href="https://bharatrajan.github.io/polymer-color-picker/bower_components/polymer-mini.html">
<link rel="import" href="https://bharatrajan.github.io/polymer-color-picker/bower_components/polymer/polymer-micro.html">
<!-- import test frame -->
<script src="https://bharatrajan.github.io/polymer-color-picker/bower_components/webcomponentsjs/webcomponents.min.js"></script>
<link rel="import" href="https://bharatrajan.github.io/polymer-color-picker/bower_components/polymer/polymer.html">
<!-- import test frame -->
<script src="https://bharatrajan.github.io/polymer-color-picker/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<!-- import dependency -->
<link rel="stylesheet" type="text/css" href="https://bharatrajan.github.io/polymer-color-picker/css/main.css">
<!-- import the element to test -->
<link rel="import" href="https://bharatrajan.github.io/polymer-color-picker/color-wheel/color-wheel.html">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-104834528-3', 'auto');
ga('send', 'pageview');
var goToSource = function (e) {
location.replace("https://github.com/bharatrajan/polymer-color-picker");
}
</script>
</head>
<body>
<h2 class="header">
Click or Drag inside color wheel to change color
</h2>
<div class="color-wheel-container">
<color-wheel class="color-wheel-box" hex="" rgb="" image-url="https://bharatrajan.github.io/polymer-color-picker/image/newColorWheel.png"></color-wheel>
</div>
<div class="details center-align">
<button onclick="goToSource()"> Source </button>
</div>
</body>
</html>