Skip to content

A indicator for google's visual programmin framework blockly that shows where a currently dragged block can be attached.

License

Notifications You must be signed in to change notification settings

awmorp/blockly-type-indicator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Blockly type indicator

A indicator for google's visual programming framework blockly that shows where a currently dragged block can be attached.

The type indicator

Here you can see a text block beeing draged into a comparison block's connection. Since their types are compatible it is highlighted and because the string block is within connection range it is highlighted green. The other connection on the comparison block is yellow highlighted because it's not in range. The connection on the variable set block is highlighted with a thin line because it's already occupied.

The indicator can be included to any blockly project simply by appending a script tag to the index.html after any other scripts:

<script src="typeIndicator.js"></script>

About

A indicator for google's visual programmin framework blockly that shows where a currently dragged block can be attached.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%