Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LayoutContext

Index

Properties

baseId: string

The root id that was passed to the Layout component so that ids can be generated for child components.

fixedAppBar: boolean

Boolean if the layout is currently using a fixed app bar which can be useful for determining specific scroll or layout behavior.

remarks

@since 2.8.3

isMiniable: boolean

Boolean if one of the layout types are mini. This is mostly used internally to prevent the <main> element from unmounting (and losing state) for non-fixed app bar layouts.

remarks

@since 2.9.1

The current layout that is being used based on the app's size.

visible: boolean

Boolean if the navigation panel is currently visible. This will always be true for persist layout types on desktop.

Methods

  • hideNav(): void
  • showNav(): void

Generated using TypeDoc