See the 2022 Blockly Developer Summit site here.

Class: Type

Constructor

Type

new Type(name)

Parameter

name

The name of the registry type.

Properties

BLOCK_DRAGGER

static

non-null Blockly.registry.Type containing Blockly.IBlockDragger

CONNECTION_CHECKER

static

non-null Blockly.registry.Type containing Blockly.IConnectionChecker

CURSOR

static

non-null Blockly.registry.Type containing Blockly.Cursor

EVENT

static

non-null Blockly.registry.Type containing Blockly.Events.Abstract

FIELD

static

non-null Blockly.registry.Type containing Blockly.Field

FLYOUTS_HORIZONTAL_TOOLBOX

static

non-null Blockly.registry.Type containing Blockly.IFlyout

FLYOUTS_VERTICAL_TOOLBOX

static

non-null Blockly.registry.Type containing Blockly.IFlyout

METRICS_MANAGER

static

non-null Blockly.registry.Type containing Blockly.IMetricsManager

RENDERER

static

non-null Blockly.registry.Type containing Blockly.blockRendering.Renderer

SERIALIZER

package   static

non-null Blockly.registry.Type containing Blockly.serialization.ISerializer

THEME

static

non-null Blockly.registry.Type containing Blockly.Theme

TOOLBOX

static

non-null Blockly.registry.Type containing Blockly.IToolbox

TOOLBOX_ITEM

static

non-null Blockly.registry.Type containing Blockly.ToolboxItem

Method

toString

toString() returns string

Returns the name of the type.

Returns

string The name.