Directory

← Back

ViewPortExtension Add-on

Add functionality to Vaadin Components to sense if they are in visible viewport or not

Author

Rating

Popularity

<100

Have you considered that there is no point for UI components that are not in visible iviewport to fetch data from backend and update themselves. This is essential for heavy dashboard apps. Thus I wrote this handy extension, which can extend Vaadin component to have isInViewPort() status and ViewPortStatusChangedEvent to help optimizing large dashboards.

Compatibility

0.1.00.1.11.0.0
(24.4)
(24.3)
(24.2)
(24.1)
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
8.0-8.21YYY
(7.7)
(7.6)
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Version 1.0.0

  • Build for 8.12.0 or newer, avoids logged warnings with listeners.
Released
2021-08-11
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 8.0+
Browser
Firefox
Safari
Google Chrome
Internet Explorer
Microsoft Edge

ViewPortExtension Add-on - Vaadin Add-on Directory

Add functionality to Vaadin Components to sense if they are in visible viewport or not ViewPortExtension Add-on - Vaadin Add-on Directory
Have you considered that there is no point for UI components that are not in visible iviewport to fetch data from backend and update themselves. This is essential for heavy dashboard apps. Thus I wrote this handy extension, which can extend Vaadin component to have isInViewPort() status and ViewPortStatusChangedEvent to help optimizing large dashboards.
Source code
Issue tracker
Online Demo

ViewPortExtension Add-on version 0.1.0
### 0.1.0 First release

ViewPortExtension Add-on version 0.1.1
### Version 0.1.1 - Bugfix in horizontal position calculation

ViewPortExtension Add-on version 1.0.0
### Version 1.0.0 - Build for 8.12.0 or newer, avoids logged warnings with listeners.

Online