ReferenceAPI
Detent
How far a sheet is open.
How this is generated
Source: lib/opsinjs.ts. Script: scripts/build-reference.mts. Command:
pnpm run generate.
Everything below is copied from the symbol, so a page is improved by improving its doc comment. The API index says why there is a page per symbol and what these pages still do not carry.
Detent
How far a sheet is open.
Three stops rather than a continuous height, because a sheet a reader can leave at an arbitrary position is a sheet that will be left half over the value it is explaining. content is as tall as what is inside it, half is the resting stop that keeps the screen behind it readable, and full is the whole surface.
| Kind | Declared in |
|---|---|
| type | lib/opsinjs.ts |
export type Detent = "content" | "half" | "full"