Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > blockRendering > PreviousConnection > (konstruktor)
blockRendering.PreviousConnection.(constructor)
Tworzy nową instancję klasy PreviousConnection
Podpis:
constructor(constants: ConstantProvider, connectionModel: RenderedConnection);
Parametry
| Parametr |
Typ |
Opis |
| stałe |
ConstantProvider |
Dostawca stałych renderowania. |
| connectionModel |
RenderedConnection |
Obiekt połączenia w bloku, który reprezentuje. |
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: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `PreviousConnection` class constructor creates a new instance, taking two parameters: `constants` and `connectionModel`. `constants` is a `ConstantProvider` object that supplies rendering constants. `connectionModel` is a `RenderedConnection` object, representing the connection on the block. The constructor sets up a `PreviousConnection` object, using the provided constant provider and connection model for a specific block connection.\n"]]