Skip to main content

blockly > IStyleable

IStyleable interface

Interface for an object that a style can be added to.

Signature:

export interface IStyleable 

Methods

Method

Description

addStyle(style)

Adds a style on the toolbox. Usually used to change the cursor.

removeStyle(style)

Removes a style from the toolbox. Usually used to change the cursor.