useMaximizedQuadrant
@spartanfx/react / index / useMaximizedQuadrant
Function: useMaximizedQuadrant()
function useMaximizedQuadrant(
value,
defaultValue,
onChange): IUseMaximizedQuadrantResult;
Manage the maximized quadrant with optional controlled override.
Parameters
value
Controlled value. Passing anything other than undefined
(including null) switches the hook into controlled mode.
defaultValue
Initial value for uncontrolled mode. Default null.
onChange
(quadrantKey) => void
Notified on every change request, both modes.