Class: Layout

Layout

A React component that hosts a multi-tabbed layout

Constructor

new Layout()

Source:

Methods

addTabToActiveTabSet(json)

Adds a new tab to the active tabset (if there is one)
Parameters:
Name Type Description
json the json for the new tab node
Source:

addTabToTabSet(tabsetId, json)

Adds a new tab to the given tabset
Parameters:
Name Type Description
tabsetId the id of the tabset where the new tab will be added
json the json for the new tab node
Source:

addTabWithDragAndDrop(dragText, json, onDrop)

Adds a new tab by dragging a labeled panel to the drop location, dragging starts immediatelly
Parameters:
Name Type Description
dragText the text to show on the drag panel
json the json for the new tab node
onDrop a callback to call when the drag is complete
Source:

addTabWithDragAndDropIndirect(dragText, json, onDrop)

Adds a new tab by dragging a labeled panel to the drop location, dragging starts when you mouse down on the panel
Parameters:
Name Type Description
dragText the text to show on the drag panel
json the json for the new tab node
onDrop a callback to call when the drag is complete
Source: