Splitter / SplitterPanel resize event #206
-
I would like to use the splitter in my app. However, even though my content div within the splitterPanels are set to width 100% they won't resize when I resize the splitter view. I've been using another component "splitpanes" in my app and they expose a resize event which I can hook into and force my content div to resize.
However, I can't seem to figure out if this possible with the PrimeVue splitter. Here's my content component, I'm rendering 3D content into my "container" DIV.
And, using the other splitpanes component, I would hook into the resize event as follows:
In my 3D component (uses ThreeJS which I wrapped as a Vue component), I force my 3D content to resize. Although, the container DIV for the 3D content would automatically resize since its width is set to 100%. So, even though I'm resizing my 3D scene in the code below, it doesn't have anything to do with my parent DIV's size. I'm just including it as a reference so you know exactly what's going on inside my DIV.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I had to get the SplitterPanel working for me in the first place. Check this issue. |
Beta Was this translation helpful? Give feedback.
I had to get the SplitterPanel working for me in the first place. Check this issue.
primefaces/primevue#4513