блочно > События > VIEWPORT_CHANGE
Переменная Events.VIEWPORT_CHANGE
Подпись:
VIEWPORT_CHANGE = "viewport_change"
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-06 UTC.
[null,null,["Последнее обновление: 2025-01-06 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"]]