blockly > dane wejściowe > Dane wejściowe > (konstruktor)
Tworzy nową instancję klasy Input
Podpis:
constructor(name: string, sourceBlock: Block);
Parametry
Parametr |
Typ |
Opis |
nazwa |
ciąg znaków |
Identyfikator niezależny od języka, którego można użyć do ponownego znalezienia tych danych wejściowych. |
sourceBlock |
Zablokuj |
Blok zawierający te dane wejściowe. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-22 UTC."],[[["The `Input` class constructor creates new input objects for Blockly blocks."],["It requires a `name` for identification and the `sourceBlock` to which the input belongs."],["The `name` is a language-neutral string used to reference the input, while `sourceBlock` is an instance of the `Block` class representing the parent block."]]],[]]