blockly > IPositionable

IPositionable interface

Interface for a component that is positioned on top of the workspace.


export interface IPositionable extends IComponent 

Extends: IComponent


Method Description
getBoundingRectangle() Returns the bounding rectangle of the UI element in pixel units relative to the Blockly injection div.
position(metrics, savedPositions) Positions the element. Called when the window is resized.