• Blockly
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
Home Guides Reference Samples Codelabs Get Help Summits Publications
  • Blockly
  • Home
  • Guides
  • Reference
  • Samples
  • Codelabs
  • Get Help
  • Summits
  • Publications
  • Overview
  • Classes
  • ASTNode
  • BasicCursor
  • Block
  • BlockDragger
  • BlockSvg
  • BubbleDragger
  • CodeGenerator
  • CollapsibleToolboxCategory
  • ComponentManager
  • Connection
  • ConnectionChecker
  • ConnectionDB
  • ContextMenuRegistry
  • Cursor
  • DeleteArea
  • DragTarget
  • FieldAngle
  • FieldCheckbox
  • FieldColour
  • FieldDropdown
  • FieldImage
  • FieldLabel
  • FieldLabelSerializable
  • FieldMultilineInput
  • FieldNumber
  • FieldTextInput
  • FieldVariable
  • FlyoutButton
  • FlyoutMetricsManager
  • Gesture
  • Grid
  • HorizontalFlyout
  • Input
  • InsertionMarkerManager
  • Marker
  • MarkerManager
  • Menu
  • MenuItem
  • MetricsManager
  • Names
  • Options
  • RenderedConnection
  • Scrollbar
  • ScrollbarPair
  • ShortcutRegistry
  • TabNavigateCursor
  • Theme
  • ThemeManager
  • Toolbox
  • ToolboxCategory
  • ToolboxItem
  • ToolboxSeparator
  • Trashcan
  • UnattachedFieldError
  • VariableMap
  • VariableModel
  • VerticalFlyout
  • Workspace
  • WorkspaceAudio
  • WorkspaceComment
  • WorkspaceCommentSvg
  • WorkspaceDragger
  • WorkspaceSvg
  • ZoomControls
  • Abstract Classes
  • Bubble
  • Field
  • Flyout
  • Enumerations
  • ConnectionType
  • inputTypes
  • Functions
  • hasBubble(obj)
  • hideChaff(opt_onlyClosePopups)
  • inject(container, opt_options)
  • isIcon(obj)
  • isSerializable(obj)
  • isVariableBackedParameterModel(param)
  • Interfaces
  • BlocklyOptions
  • FieldAngleConfig
  • FieldAngleFromJsonConfig
  • FieldCheckboxConfig
  • FieldCheckboxFromJsonConfig
  • FieldColourConfig
  • FieldColourFromJsonConfig
  • FieldConfig
  • FieldDropdownFromJsonConfig
  • FieldImageConfig
  • FieldImageFromJsonConfig
  • FieldLabelConfig
  • FieldLabelFromJsonConfig
  • FieldMultilineInputConfig
  • FieldMultilineInputFromJsonConfig
  • FieldNumberConfig
  • FieldNumberFromJsonConfig
  • FieldTextInputFromJsonConfig
  • FieldVariableConfig
  • FieldVariableFromJsonConfig
  • IASTNodeLocation
  • IASTNodeLocationSvg
  • IASTNodeLocationWithBlock
  • IAutoHideable
  • IBlockDragger
  • IBoundedElement
  • IBubble
  • ICollapsibleToolboxItem
  • IComponent
  • IConnectionChecker
  • IContextMenu
  • ICopyable
  • IDeletable
  • IDeleteArea
  • IDraggable
  • IDragTarget
  • IFlyout
  • IHasBubble
  • IIcon
  • IKeyboardAccessible
  • IMetricsManager
  • IMovable
  • IPositionable
  • IRegistrable
  • ISelectable
  • ISelectableToolboxItem
  • ISerializable
  • IStyleable
  • IToolbox
  • IToolboxItem
  • IVariableBackedParameterModel
  • Namespaces
  • ASTNode
  • Block
  • blockAnimations
  • blockRendering
  • browserEvents
  • bubbles
  • bumpObjects
  • clipboard
  • CollapsibleToolboxCategory
  • common
  • ComponentManager
  • constants
  • ContextMenu
  • ContextMenuItems
  • ContextMenuRegistry
  • Css
  • dialog
  • Events
  • Extensions
  • fieldRegistry
  • geras
  • icons
  • ICopyable
  • Input
  • inputs
  • InsertionMarkerManager
  • libraryBlocks
  • MetricsManager
  • minimalist
  • Names
  • Options
  • Procedures
  • registry
  • RenderedConnection
  • renderManagement
  • serialization
  • ShortcutItems
  • ShortcutRegistry
  • Theme
  • ThemeManager
  • Themes
  • thrasos
  • ToolboxCategory
  • ToolboxSeparator
  • Tooltip
  • Touch
  • uiPosition
  • utils
  • Variables
  • VariablesDynamic
  • WidgetDiv
  • Xml
  • zelos
  • Variables
  • ALIGN_CENTRE
  • ALIGN_LEFT
  • ALIGN_RIGHT
  • Blocks
  • COLLAPSE_CHARS
  • COLLAPSED_FIELD_NAME
  • COLLAPSED_INPUT_NAME
  • config
  • connectionTypes
  • defineBlocksWithJsonArray
  • DELETE_VARIABLE_ID
  • DRAG_STACK
  • DropDownDiv
  • DUMMY_INPUT
  • getMainWorkspace
  • getSelected
  • INPUT_VALUE
  • JavaScript
  • Msg
  • NEXT_STATEMENT
  • OPPOSITE_TYPE
  • OUTPUT_VALUE
  • PREVIOUS_STATEMENT
  • PROCEDURE_CATEGORY_NAME
  • RENAME_VARIABLE_ID
  • setLocale
  • setParentContainer
  • svgResize
  • TOOLBOX_AT_BOTTOM
  • TOOLBOX_AT_LEFT
  • TOOLBOX_AT_RIGHT
  • TOOLBOX_AT_TOP
  • VARIABLE_CATEGORY_NAME
  • VARIABLE_DYNAMIC_CATEGORY_NAME
  • VERSION
  • Type Aliases
  • FieldAngleValidator
  • FieldCheckboxValidator
  • FieldColourValidator
  • FieldDropdownConfig
  • FieldDropdownValidator
  • FieldMultilineInputValidator
  • FieldNumberValidator
  • FieldTextInputConfig
  • FieldTextInputValidator
  • FieldValidator
  • FieldVariableValidator
  • MenuGenerator
  • MenuGeneratorFunction
  • MenuOption
  • Home
  • Products
  • Google for Education
  • Blockly
  • Reference
Stay organized with collections Save and categorize content based on your preferences.

blockly > Block > appendInput

Block.appendInput() method

Appends the given input row.

Allows for custom inputs to be appended to the block.

Signature:

appendInput(input: Input): Input;

Parameters

Parameter Type Description
input Input

Returns:

Input

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 2023-06-23 UTC.

  • Connect

    • Blog
    • Instagram
    • LinkedIn
    • Twitter
    • YouTube
  • Programs

    • Women Techmakers
    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Google Developer Student Clubs
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google for Developers newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어