Created
January 23, 2019 17:43
-
-
Save LizAinslie/205488af87983bd3865ef4f71897b7af to your computer and use it in GitHub Desktop.
A kitchen sink example of Canvo options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const options = { | |
canvas: document.getElementById('editor'), // Or just 'editor' | |
controls: document.getElementById('toolbar'), // Or just 'toolbar' | |
controlsOptions: { | |
framework: 'semantic_ui', // Other options are 'bootstrap_3' or 'bootstrap_4' | |
}, | |
}; | |
const editor = new Editor(options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment