sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    id: string

    The unique id for this component that is used to register with the ComponentManager.

    Methods

    • Create the zoom controls.

      Returns SVGElement

      The zoom controls SVG group.

    • Disposes of this zoom controls. Unlink from all DOM elements to prevent memory leaks.

      Returns void

    • Returns the bounding rectangle of the UI element in pixel units relative to the Blockly injection div.

      Returns Blockly.utils.Rect

      The UI elements’s bounding box. Null if bounding box should be ignored by other UI elements.

    • Initializes the zoom controls.

      Returns void

    • Positions the zoom controls. It is positioned in the opposite corner to the corner the categories/toolbox starts at.

      Parameters

      • metrics: UiMetrics

        The workspace metrics.

      • savedPositions: Blockly.utils.Rect[]

        List of rectangles that are already on the workspace.

      Returns void