Skip to main content

Function: isExpandedDisplayMode()

isExpandedDisplayMode(mode): boolean
Checks whether a display mode represents an expanded agent surface. Expanded modes are:
  • inline (panel-style)
  • fullscreen (viewport-filling)
Collapsed mode is:
  • pip (launcher-only)

Parameters

mode

Current display mode from host context. CharDisplayMode | undefined

Returns

boolean true for expanded modes and false for collapsed/undefined modes.