Usage

Choose a layout for the available width.

tsx
// Choose a layout for the available width.
import { Show, Text, window } from 'kuito';

window.widthClass.value; // 'compact', 'medium' or 'expanded'

<Show when={window.widthClass.value === 'expanded'}>
  <Text>Two panes</Text>
</Show>;

Properties and methods 1

NameTypeRequiredDescription
valuereadonlyWidthClassYes—
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.