Is there a way to generate blocks from javascript code in blockly (not a custom block)
--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/9d41f2a1-d983-49a1-b9e0-a0b47e106ded%40googlegroups.com.
Sure. There are a couple ways to do it, and which one is more appropriate depends on your use case. You can either construct XML and load or append it to the workspace, or you can use the workspace and block API functions to create and connect blocks individually./s/ Adam
On Wed, Jan 22, 2020 at 7:43 AM Navaneethan <navane...@pillir.io> wrote:
Is there a way to generate blocks from javascript code in blockly (not a custom block)--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/43c3a225-73d6-41d4-8691-b3345ff2ec68%40googlegroups.com.