Documentation

@kanunilabs/pivotgrid


@kanunilabs/pivotgrid / createThemedHost

Function: createThemedHost()

createThemedHost(gridRoot): HTMLElement

A themed portal host: carries the grid root's classes, inline theme vars, data-theme and dir so the shared stylesheet re-applies wholesale. Used by the one-at-a-time popup layer below AND by long-lived surfaces (the field chooser) that must coexist with transient popups.

Parameters

gridRoot

HTMLElement

Returns

HTMLElement