Class: SplitterController

SplitterController

Utility class for managing Golden Layout splitter drag interactions.

Constructor

new SplitterController()

Methods

endMove()

Ends a splitter drag move, if one is in progress.

preventSplitterResize()

Disables the pointer events on the splitters, preventing them from being dragged.

startMove(splitterItem)

Initialises a splitter drag move, rendering a view on top of the splitter to allow it to render on top of the views within a layout (as they will always have a higher z-index to the platform window itself).

Parameters:
Name Type Description
splitterItem

The Golden Layout splitter item that is currently being dragged.