Viewport Size Reader is a lightweight and reactive OutSystems component that provides the current browser viewport width and height — and triggers an event when the viewport size changes.
Retrieves the browser’s visible viewport width and height.
Automatically triggers an event when the viewport size changes due to resizing, zooming, or orientation changes.
Build responsive layouts based on actual viewport size.
Adjust UI breakpoints for different screen sizes.
Adapt layouts in real time for desktop, tablet, and mobile views.
Improve user experience by reacting instantly to viewport changes.