qlik-oss/picasso.js

View on GitHub
examples/hammer/index.html

Summary

Maintainability
Test Coverage
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Picasso example</title>
 
<!-- import picasso and its dependencies-->
<script src="https://unpkg.com/hammerjs"></script>
<script src="https://unpkg.com/picasso.js"></script>
<script src="https://unpkg.com/picasso-plugin-hammer"></script>
<script src="../data/products.js"></script>
 
<style>
body {
background: #fafafa;
color: #666;
font: normal 12px/1 Arial;
}
 
#container {
position: absolute;
left: 10px;
right: 10px;
bottom: 10px;
top: 10px;
background: #fff;
}
</style>
</head>
<body>
<div id="container"></div>
 
<script src="./index.js"></script>
</body>
</html>