@kanunilabs/pivotgrid-react / usePivotFullscreen
Function: usePivotFullscreen()
usePivotFullscreen():
object
Full screen for the pivot's own container. Native first; a CSS look
(emulated) where the API is missing or refuses.
B.33: any fullscreenchange used to count as the pivot's own, so a
video, a chart or the page itself going full screen flipped the pivot into
its fullscreen look (fixed, z-index 99999) over that element. Now the pivot
is full screen only when the browser's full-screen element IS its container
— the plain JS twin (fullscreen.ts) has compared it that way all along.
Returns
object
containerRef
containerRef:
RefObject<HTMLDivElement|null>
isFullscreen
isFullscreen:
boolean
toggleFullscreen
toggleFullscreen: () =>
void
Returns
void