trashcan, zoom-control and media

This commit is contained in:
Delucse
2020-07-24 11:02:07 +02:00
parent 168c5fb575
commit 7de0ffdebd
20 changed files with 84 additions and 1 deletions
+9 -1
View File
@@ -36,11 +36,19 @@ class Home extends Component {
<BlocklyComponent ref={this.simpleWorkspace}
readOnly={false}
trashcan={true}
zoom={{
controls: true,
wheel: true,
startScale: 1.0,
maxScale: 3,
minScale: 0.3,
scaleSpeed: 1.2
}}
media={'media/'}
move={{
scrollbars: true,
drag: true,
wheel: true
wheel: false
}}
initialXml={''}
>