Skip to main content

Home > blockly > bubbles > MiniWorkspaceBubble

bubbles.MiniWorkspaceBubble class

A bubble that contains a mini-workspace which can hold arbitrary blocks. Used by the mutator icon.

Signature:

export declare class MiniWorkspaceBubble extends Bubble 

Extends: Bubble

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the MiniWorkspaceBubble class.

Properties

PropertyModifiersTypeDescription
anchorprotectedCoordinate
ownerRect?protectedRect | undefined(Optional)
workspacereadonlyWorkspaceSvg

Methods

MethodModifiersDescription
addWorkspaceChangeListener(listener)Adds a change listener to the mini workspace.
dispose()
updateBlockStyles()Reapplies styles to all of the blocks in the mini workspace.