연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
blockly > 블록 > appendInput
지정된 입력 행을 추가합니다.
맞춤 입력을 블록에 추가할 수 있습니다.
서명:
appendInput(input: Input): Input;
매개변수
반환:
입력
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-08(UTC)
[null,null,["최종 업데이트: 2024-11-08(UTC)"],[[["The `appendInput()` method adds a new input row to a Blockly block, allowing customization."],["It takes an `Input` object as an argument and returns the same `Input` object, enabling chaining."],["This method is crucial for creating blocks with diverse and dynamic input options."]]],["The `Block.appendInput()` method adds a custom input row to a block. It takes an `Input` object as a parameter and appends it to the block. The method's signature is `appendInput(input: Input): Input`, and it returns the appended `Input` object. This functionality enables the dynamic addition of custom input elements to blocks, enhancing their flexibility and configurability.\n"]]