Optional
classfactory function for creating the tab components
Optional
i18nfunction called for each I18nLabel to allow user translation, currently used for tab and tabset move messages, return undefined to use default values
Optional
iconsobject mapping keys among close, maximize, restore, more, popout to React nodes to use in place of the default icons, can alternatively return functions for creating the React nodes
the model for this layout
Optional
onfunction called whenever the layout generates an action to update the model (allows for intercepting actions before they are dispatched to the model, for example, asking the user to confirm a tab close.) Returning undefined from the function will halt the action, otherwise return the action to continue
Optional
oncallback for handling mouse clicks on tabs and tabsets with alt, meta, shift keys, also handles center mouse clicks
Optional
oncallback for handling context actions on tabs and tabsets
Optional
onfunction called when an external object (not a tab) gets dragged onto the layout, with a single dragenter argument. Should return either undefined to reject the drag/drop or an object with keys dragText, jsonDrop, to create a tab via drag (similar to a call to addTabToTabSet). Function onDropis passed the added tabNodeand thedrop DragEvent`, unless the drag was canceled.
Optional
onfunction called when model has changed
Optional
oncallback for rendering the drag rectangles
Optional
onfunction called when rendering a tab, allows leading (icon), content section, buttons and name used in overflow menu to be customized
Optional
onfunction called when rendering a tabset, allows header and buttons to be customized
Optional
oncallback for handling the display of the tab overflow menu
Optional
oncallback for rendering a placeholder when a tabset is empty
Optional
popoutsets a top level class name on popout windows
Optional
popoutURLURL of popout window relative to origin, defaults to popout.html
Optional
popoutName given to popout windows, defaults to 'Popout Window'
Optional
realtimeboolean value, defaults to false, resize tabs as splitters are dragged. Warning: this can cause resizing to become choppy when tabs are slow to draw
Optional
supportsif left undefined will do simple check based on userAgent
function called with default css class name, return value is class name that will be used. Mainly for use with css modules.