const sketch = new Sketchy({
data:{
colors:['red','blue','green','yellow','orange','black','purple','cyan'],
defaultColor:"green",
fileName:"sketch",
title:"hello"
},
events:{
onColorClicked(){
console.log('onColorClicked');
},
onCapture(){
console.log('onCapture');
}
}
});
sketch.mount('body')
-
Notifications
You must be signed in to change notification settings - Fork 0
javascript canvas library
mboussaid/Sketchy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
javascript canvas library
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published