blockly > Zdarzenia > VIEWPORT_CHANGE
Zmienna Events.VIEWPORT_CHANGE
Podpis:
VIEWPORT_CHANGE = "viewport_change"
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-09-11 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-11 UTC."],[[["`Events.VIEWPORT_CHANGE` is a variable representing the event type for changes to the Blockly workspace viewport."],["This event is triggered when the workspace is scrolled or zoomed, indicating a change in the visible area of the workspace."],["The `VIEWPORT_CHANGE` variable holds the string value \"viewport_change\" for easy identification and use within event handling logic."]]],["The `VIEWPORT_CHANGE` variable, found within the Blockly Events namespace, is defined as a string constant equal to \"viewport_change\". It represents a specific event type related to changes in the viewport. This event type's identifier is directly assigned the string value \"viewport_change\", serving as a unique label for this particular kind of viewport-related event within the Blockly environment.\n"]]