Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
DockManager Pane resize event
posted

I have a DockManager and I'm attempting to trigger an event when any pane is resized, so that I can tell the pane contents to resize itself to match. I'm trying to register for the floatingPaneResizeEnd event, but it never seems to trigger. Even if it did, I don't think that's a complete solution, as I want it to work for any pane, not just floating panes. Is there a way to accomplish what I'm looking for?

I've modified one of your stackblitz examples to demonstrate the problem. This one triggers a paneClose event but won't do anything for floadingPaneResizeEnd.

https://stackblitz.com/edit/github-np1jzf-lpfncp?file=src/app/dock-manager-sample/dock-manager.component.ts

Thanks!

Parents
No Data
Reply
  • 5600
    Verified Answer
    Offline posted

    In order to take advantage of the floatingPaneResizeEnd event you need to upgrade the dockManager package to version 1.4.0.
    All other panes resizing is done by dragging the splitters between panes. You can handle the dockManager’s splitterResizeEnd event which will be triggered when splitter drag ends.

    (splitterResizeEnd)="splitterResizeEnd($event)"

Children
No Data