Scratch Blocks is a library for building creative computing interfaces.
Find a file
Tim Mickel cf6725ba4c Implement drop-down menus and icon picker field (#233)
* Icon menu and drop-down stubs

* Recompile 4/15

* Fix stubs to draw shadow block for drop-down

* Fix rendering of shadow for icon menu

* Add arrow to dropdown button

* Add drop-down buttons to rest of examples

* Implementation of drop-down div including positioning

* Drop-downs take colours from the blocks

* Fix scaled secondary position of drop-downs

* Fix arrow positioning for RTL

* Use SVG parentNode for sizing dropdown

* Use transform for drop-down positioning

* Add basic DropDownDiv hide

* Add animation-in to dropdown

* More subtle drop-down animation and shadow

* Add icon menu example

* Use options style of Blockly FieldImage for drop-down

* Add default value for iconmenu

* Add example hover, active states for iconmenu buttons

* Update dropdown_icon example

* Implement icon-menu value handling and default value

* Add updating the parent block image field to dropdown

* Drop-down animates out; add hooks to hide for various Blockly happenings

* Add pointer cursor for drop-down icons

* Improve documentation for drop-downs and minor refactor

* Factor out getSrcForValue in iconmenu

* Blocks take on the icon of their icon-menu

* Add basic accessibility properties, similar to closure

* Remove extra drop-down example; update playgrounds

* Remove unnecessary colour overrides

* Add onHide, colour changing, fix references in dropdowndiv

* Flip arrow when the drop-down is rendered above

* Hide the icon menu drop-down on second tap of button

* Add preventDefault to button ontouchstart

* Updates to drop-down from Carl

* Add icon-menu placeholders and a crazy demo

* Fix naming to normalize (drop-down, DropDown)

* Add license header
2016-04-21 15:33:28 -04:00
appengine Add a Lua code generator 2016-03-10 10:24:25 +01:00
blocks Merge remote-tracking branch 'Google/master' into google-master-april-1 2016-04-01 14:44:46 -04:00
blocks_horizontal Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
core Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
demos Merge remote-tracking branch 'Google/master' into google-master-april-1 2016-04-01 14:44:46 -04:00
generators Remove Lua generators 2016-03-15 10:36:06 -04:00
i18n Handle non ascii characters in keys with an error. 2015-06-22 16:58:30 +02:00
media Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
msg Recompile (#194) 2016-04-11 15:32:17 -04:00
tests Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
.editorconfig Add basic .editorconfig for Blockly JS style 2016-02-24 15:24:52 -05:00
.eslintignore Add /msg/* to eslintignore 2016-04-06 13:39:01 -04:00
.eslintrc Remove no-redeclare .eslintrc rule 2016-04-06 13:16:23 -04:00
.gitignore Add basic lint options for npm 2015-08-03 20:34:07 +02:00
.jshintignore Add basic lint options for npm 2015-08-03 20:34:07 +02:00
blockly_compressed_horizontal.js Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
blockly_compressed_vertical.js Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
blockly_uncompressed_horizontal.js Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
blockly_uncompressed_vertical.js Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
blocks_compressed.js Implement drop-down menus and icon picker field (#233) 2016-04-21 15:33:28 -04:00
build.py Merge remote-tracking branch 'Google/develop' into feature/upstream-merge-march-11-2 2016-03-11 13:18:14 -05:00
COPYING New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00
dart_compressed.js Routine recompile. 2016-03-29 09:04:25 -07:00
javascript_compressed.js Recompile 2016-04-08 14:42:50 -04:00
lua_compressed.js Routine recompile. 2016-03-29 09:04:25 -07:00
package.json Add basic .eslintrc 2016-04-06 13:04:52 -04:00
php_compressed.js Routine recompile. 2016-03-29 09:04:25 -07:00
python_compressed.js Routine recompile. 2016-03-29 09:04:25 -07:00
README.md Readme typo (issue 42). 2015-01-08 09:57:28 -08:00

Blockly

Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs. All code is free and open source.

The project page is https://developers.google.com/blockly/