Skip to main content

blockly > ToolboxSeparator

ToolboxSeparator class

Class for a toolbox separator. This is the thin visual line that appears on the toolbox. This item is not interactable.

Signature:

export declare class ToolboxSeparator extends ToolboxItem 

Extends: ToolboxItem

Constructors

Constructor

Modifiers

Description

(constructor)(separatorDef, toolbox)

Constructs a new instance of the ToolboxSeparator class

Properties

Property

Modifiers

Type

Description

cssConfig_

protected

CssConfig

All the CSS class names that are used to create a separator.

registrationName

static

string

Name used for registering a toolbox separator.

Methods

Method

Modifiers

Description

createDom_()

protected

Creates the DOM for a separator.

dispose()

getDiv()

init()