mo4islona / node-blockly

Blockly for Node.js and Browser via CommonJS module
133 stars 81 forks source link

for help!--blockly's user block program data pass #37

Closed liudxhit closed 4 years ago

liudxhit commented 4 years ago

Looking forward to your reply! I want to build a local application with blockly and three.js on the web page, and pass the return value of blockly's user block program to define/require state management module, so as to realize real-time data interaction。How do you pass data in eval?

liudxhit commented 4 years ago

Hello, can this node-blockly project be used in the browser client?

mo4islona commented 4 years ago

Yes, you can use it in a browser!

Demo - http://mo4islona.github.io/blockly/ Source of demo - https://github.com/mo4islona/mo4islona.github.io/blob/master/blockly/index.js