Funzione statica
Veloce
Viewport.Subscribe
Subscribes to an Event
Non ancora tradotto
Sintassi
Viewport.Subscribe(event_name, callback)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
event_name
|
string | — | Event to subscribe to |
callback
|
function | — | Callback to run on the event occurring |
Valore restituito
- function The function callback