How to bind element width, height to signal?
My <div>'s size will be changed by parent or css class.
I want to bind div's offsetWidth, offsetHeight to signal inside component.
Then I want to do something with the signals.
How can I do it?
I know there is 'ref' attribute.
But does ret update the signal when offsetWidth, offsetHeight is changed, too?
I want to bind div's offsetWidth, offsetHeight to signal inside component.
Then I want to do something with the signals.
How can I do it?
I know there is 'ref' attribute.
But does ret update the signal when offsetWidth, offsetHeight is changed, too?

