1.2.11 • Published 5 days ago

@blockly/toolbox-search v1.2.11

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 days ago

@blockly/toolbox-search Built on Blockly

A Blockly plugin that adds a toolbox category for searching blocks. The category displays a search field in the toolbox, and filters the available blocks as you type. The Blockly docs have more information about toolbox definitions and categories.

Installation

Yarn

yarn add @blockly/toolbox-search

npm

npm install @blockly/toolbox-search --save

Usage

import * as Blockly from 'blockly';
import '@blockly/toolbox-search';

const toolboxCategories = {
  'contents': [
    /* Other toolbox categories with blocks go here */
    {
      'kind': 'search',
      'name': 'Search',
      'contents': [],
    }
  ]
};

// Inject Blockly.
const workspace = Blockly.inject('blocklyDiv', {
  toolbox: toolboxCategories,
});

License

Apache 2.0

1.2.11

5 days ago

1.2.10

12 days ago

1.2.9

26 days ago

1.2.8

2 months ago

1.2.7

2 months ago

1.2.6

3 months ago

1.2.5

5 months ago

1.2.4

6 months ago

1.2.3

6 months ago

1.2.2

6 months ago

1.2.1

7 months ago

1.2.0

7 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

9 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

11 months ago