classMyInputextendsBlockly.inputs.Input{// The constructor should always take in a name and a block to be compatible// with JSON block definitions.constructor(name,block){super(name,block);// etc...}}
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eSubclass \u003ccode\u003eBlockly.inputs.Input\u003c/code\u003e to create a custom input, ensuring the constructor accepts a name and block for JSON compatibility.\u003c/p\u003e\n"],["\u003cp\u003eOptionally create a connection for the input using the \u003ccode\u003emakeConnection\u003c/code\u003e method within the constructor.\u003c/p\u003e\n"],["\u003cp\u003eRegister the custom input with \u003ccode\u003eBlockly.registry\u003c/code\u003e to enable its usage in JSON block definitions, associating it with a unique string identifier.\u003c/p\u003e\n"],["\u003cp\u003eCustom inputs cannot replace built-in inputs, nor can custom JSON configuration be added to built-in inputs.\u003c/p\u003e\n"]]],["To create a custom input, subclass the `Input` class, including a constructor that accepts a name and block. Optionally, create a connection within the constructor using the `makeConnection` method. To use the custom input in JSON block definitions, register it with `Blockly.registry.register`, associating it with a unique string. Note that unlike custom fields, built-in inputs cannot be overridden and do not accept custom JSON configurations.\n"],null,[]]