trashcan, zoom-control and media
This commit is contained in:
@@ -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={''}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user