Class for UI bubble.
The workspace on which to draw the bubble.
SVG content for the bubble.
SVG element to avoid eclipsing.
Absolute position of bubble's anchor point.
Width of bubble, or null if not resizable.
Height of bubble, or null if not resizable.
Describes whether this bubble has been disposed of (nodes and event listeners removed from the page) or not.
Dispose of this bubble.
Return the coordinates of the top-left corner of this bubble's body relative to the drawing surface's origin (0,0), in workspace units.
Object with .x and .y properties.
Return the root node of the bubble's SVG group.
The root SVG node of the bubble's group.
Move this bubble during a drag, taking into account whether or not there is a drag surface.
The surface that carries rendered items during a drag, or null if no drag surface is in use.
The location to translate to, in workspace coordinates.
Register a function as a callback event for when the bubble is moved.
The function to call on move.
Register a function as a callback event for when the bubble is resized.
The function to call on resize.
Notification that the anchor has moved. Update the arrow and bubble accordingly.
Absolute location.
Set whether auto-layout of this bubble is enabled. The first time a bubble is shown it positions itself to not cover any blocks. Once a user has dragged it to reposition, it renders where the user put it.
True if auto-layout should be enabled, false otherwise.
Size this bubble.
Width of the bubble.
Height of the bubble.
Change the colour of a bubble.
Hex code of colour.
Update the style of this bubble when it is dragged over a delete area.
True if the bubble is about to be deleted, false otherwise.
Expose the block's ID on the bubble's top-level SVG group.
ID of block.
Fake class which should be extended to avoid inheriting static properties