Skip to main content

Home > blockly > Events > BubbleOpen > (constructor)

Events.BubbleOpen.(constructor)

Constructs a new instance of the BubbleOpen class

Signature:

constructor(opt_block?: BlockSvg, opt_isOpen?: boolean, opt_bubbleType?: BubbleType);

Parameters

ParameterTypeDescription
opt_blockBlockSvg(Optional) The associated block. Undefined for a blank event.
opt_isOpenboolean(Optional) Whether the bubble is opening (false if closing). Undefined for a blank event.
opt_bubbleTypeBubbleType(Optional) The type of bubble. One of 'mutator', 'comment' or 'warning'. Undefined for a blank event.