Stay organized with collections
Save and categorize content based on your preferences.
blockly > ConnectionType
ConnectionType enum
Enum for the type of a connection or input.
Signature:
export declare enum ConnectionType
Enumeration Members
Member |
Value |
Description |
INPUT_VALUE |
1 |
|
NEXT_STATEMENT |
3 |
|
OUTPUT_VALUE |
2 |
|
PREVIOUS_STATEMENT |
4 |
|
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."],[[["\u003cp\u003eThe \u003ccode\u003eConnectionType\u003c/code\u003e enum defines the type of connection for Blockly blocks, such as input values, next statements, output values, and previous statements.\u003c/p\u003e\n"],["\u003cp\u003eThis enum uses numeric values to represent each connection type: \u003ccode\u003e1\u003c/code\u003e for \u003ccode\u003eINPUT_VALUE\u003c/code\u003e, \u003ccode\u003e3\u003c/code\u003e for \u003ccode\u003eNEXT_STATEMENT\u003c/code\u003e, \u003ccode\u003e2\u003c/code\u003e for \u003ccode\u003eOUTPUT_VALUE\u003c/code\u003e, and \u003ccode\u003e4\u003c/code\u003e for \u003ccode\u003ePREVIOUS_STATEMENT\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [ConnectionType](./blockly.connectiontype_enum.md)\n\nConnectionType enum\n-------------------\n\nEnum for the type of a connection or input.\n\n**Signature:** \n\n export declare enum ConnectionType \n\nEnumeration Members\n-------------------\n\n| Member | Value | Description |\n|--------------------|-------|-------------|\n| INPUT_VALUE | `1` | |\n| NEXT_STATEMENT | `3` | |\n| OUTPUT_VALUE | `2` | |\n| PREVIOUS_STATEMENT | `4` | |"]]