Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > InlineInput > (Konstrukteur)
Erstellt eine neue Instanz der InlineInput
-Klasse
Unterschrift:
constructor(constants: ConstantProvider, input: Input);
Parameter
Parameter |
Typ |
Beschreibung |
constants |
ConstantProvider |
Der Anbieter von Renderingkonstanten. |
Eingabe |
Eingabe |
Die Inline-Eingabe, für die Informationen gemessen und gespeichert werden sollen. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["The `InlineInput` class handles the rendering of inline inputs within Blockly blocks."],["An `InlineInput` object is constructed using a `ConstantProvider` for rendering settings and an `Input` object representing the actual input."],["The constructor initializes the `InlineInput` with necessary information from the provided `ConstantProvider` and `Input` for proper rendering."]]],["The `InlineInput` class constructor creates a new instance. It requires two parameters: `constants`, a `ConstantProvider` instance which provides rendering constants, and `input`, an `Input` instance representing the inline input. The constructor's purpose is to measure and store information related to the specified inline input during the rendering process, utilizing constants from the provided `ConstantProvider`.\n"]]