Skip to main content

blockly > blockRendering > InputConnection

blockRendering.InputConnection class

The base class to represent an input that takes up space on a block during rendering.

Signature:

export declare class InputConnection extends Connection 

Extends: Connection

Constructors

Constructor

Modifiers

Description

(constructor)(constants, input)

Constructs a new instance of the InputConnection class

Properties

Property

Modifiers

Type

Description

align

number

connectedBlock

BlockSvg | null

connectedBlockHeight

number

connectedBlockWidth

number

connectionOffsetX

number

connectionOffsetY

number

input

Input