Thanks, I opted for creating one port and subscribing to it. The port is triggered by the resize event of the window.
I also created a 2nd port that is called at init to ask for the dimensions.
Thanks, I opted for creating one port and subscribing to it. The port is triggered by the resize event of the window.
I also created a 2nd port that is called at init to ask for the dimensions.