blockly > bubbles > TextInputBubble > (constructor)

bubbles.TextInputBubble.(constructor)

Constructs a new instance of the TextInputBubble class

Signature:

constructor(workspace: WorkspaceSvg, anchor: Coordinate, ownerRect?: Rect | undefined);

Parameters

Parameter Type Description
workspace WorkspaceSvg The workspace this bubble belongs to.
anchor Coordinate The anchor location of the thing this bubble is attached to. The tail of the bubble will point to this location.
ownerRect Rect | undefined (Optional) An optional rect we don't want the bubble to overlap with when automatically positioning.