Skip to main content

cycleDetent

The next detent for Enter or Space on the handle: peek, half, full, then back to peek.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { cycleDetent } from "@mapcairn/core";

function cycleDetent(current: SheetDetent): SheetDetent;

Parameters​

  • current (SheetDetent)

Returns​

SheetDetent

See also​

Source: packages/core/src/sheet/sheet.ts:133