for a widget I would need to know when the outer frame size has changed so to trigger some scripts. openhab-update fires when an item updates, but I would need an event when the widget frame size changes, or at least when the display size changes.
Is there such an event?
Those sound like client side events. OH is server side software.
Yes you are right - thinking this through I get the point.
I guess I need to attach an event listener to the Window object …
The UI would need to somehow send that back to OH though.
That would be complex, especially with a mobile browser or app when not connected to the internal network.
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.