Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (42 sloc) 945 Bytes
<link rel="stylesheet" href="../../dist/joy.css">
font-family: 'FuturaHandwritten';
font-style: normal;
src: url('FuturaHandwritten.ttf') format('truetype');
margin: 0;
font-size: 20px;
font-family: sans-serif;
font-weight: 100;
font-family: 'FuturaHandwritten';
margin-left: 1.5em;
<div id="joy"></div>
<div id="box"></div>
<script src="../../dist/joy.js"></script>
<script> = Joy({
init: "Make the box {id:'width', type:'number', placeholder:50}px wide, "+
"{id:'height', type:'number', placeholder:50}px tall, "+
"and colored {id:'color', type:'color'}",
container: "#joy",
onupdate: function(my){
var box = document.getElementById("box"); =; =; =;