@blockly/block-shareable-procedures
Version:
A plugin that adds procedure blocks which are backed by explicit data models.
33 lines (21 loc) • 960 B
Markdown
# @blockly/block-shareable-procedures [](https://github.com/google/blockly)
A set of [Blockly](https://www.npmjs.com/package/blockly) blocks that allow
end-users to define procedures (i.e. functions). These blocks reference explicit
backing data models, which allows them to be more easily manipulated, and shared
between workspaces.
Note that these blocks have the same names as the built-in procedure blocks, so
you can seamlessly upgrade your existing project to use the new blocks.
## Installation
### Yarn
```
yarn add @blockly/block-shareable-procedures
```
### npm
```
npm install @blockly/block-shareable-procedures
```
## Usage
See [developers.google.com/blockly/guides/create-custom-blocks/procedures/using-procedures](https://developers.google.com/blockly/guides/create-custom-blocks/procedures/using-procedures)
for more information about using this plugin.
## License
Apache 2.0