jcubic/jquery.splitter

Capture Resize Event

Closed this issue · 1 comments

I'd like my UI to react whenever the splitter is moved. Could you add an event that I could latch on to when the splitter position is changed? Something like:

  $("#splitter")
    .split(
      {
        orientation: "vertical",
        limit: 200,
        position: (window.innerWidth - 200),
        resize: myResizeFuntion
      }
    );

And then myResizeFunction would be called each time the splitter position is changed?

Scratch that; I just noticed onDrag.