Replies: 2 comments 6 replies
-
No, this component is not yet supported. Adding this is not difficult but it is not a python only change. The Vue component defined in quasar_components.js also needs to be modified to support the resize event. |
Beta Was this translation helpful? Give feedback.
-
Very nice work! The good news is that you do not need anymore JavaScript to get the initial size. So what you need to do, is run the trigger method from page_ready and this should work. If you put together a simple example and it does not work, I would be happy to take a look at it. (Don't forget to set temp=False when you create the resize instance) |
Beta Was this translation helpful? Give feedback.
-
Is there a way to retrieve the height and width of a justpy component as it is rendered?
In Quasar there is a QResizeObserver class but this doesn't seem supported in JustPy.
Any idea how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions