Stay organized with collections
Save and categorize content based on your preferences.
blockly > serialization > blocks > ConnectionState
serialization.blocks.ConnectionState interface
Represents the state of a connection.
Signature:
export interface ConnectionState
Properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `ConnectionState` interface represents the state of a connection between blocks in Blockly."],["It optionally stores the connected block's state using the `block` property and the connected shadow block's state using the `shadow` property."],["Both `block` and `shadow` properties, if present, utilize the `State` interface to describe the connected block's state."]]],["The `ConnectionState` interface defines the state of a connection, containing optional properties for `block` and `shadow`. Both `block` and `shadow` are typed as `State`. This interface is part of the `serialization.blocks` namespace. The interface is used to represent a connection, including any associated block or shadow states. It uses optional properties to represent the block and shadow state.\n"]]