blockly > IConnectionPreviewer
IConnectionPreviewer interface
Displays visual "previews" of where a block will be connected if it is dropped.
Signature:
export interface IConnectionPreviewer
Methods
Method | Description |
|---|---|
Dispose of any references held by this connection previewer. | |
Hide any previews that are currently displayed. | |
Display a connection preview where the draggedCon connects to the staticCon, and no block is being relaced. | |
Display a connection preview where the draggedCon connects to the staticCon, replacing the replacedBlock (currently connected to the staticCon). |