edisonh / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Enhancement: Print to various output destinations #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Could you enhance **print** block, to print to either console, or to an "output 
area" on the page?
I propose a drop-down list after the *print* word having the options: "Pop-up", 
"Console", "On page". 
* **Pop-up** is the current implementation.
* **Console** is using console.log(), which is a method provided by most 
browsers.
* **On page** could address a specific (class or id based) tag on the page, 
which implementors should provide.

Original issue reported on code.google.com by azoun...@gmail.com on 20 May 2013 at 10:30

GoogleCodeExporter commented 8 years ago
Blockly's core blocks make no real attempt to provide an API to the outside 
word.  What you describe is a great idea for a custom block in an application.

Original comment by neil.fra...@gmail.com on 16 Jul 2013 at 8:33