BoardOptions interface
The interface BoardOptions of @dioramajs/text/keycaps.
import type { BoardOptions } from '@dioramajs/text/keycaps'interface BoardOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly align | number | 0 left, 0.5 centre, 1 right. |
readonly fill | boolean | The case is the element's box, widened to fit the keys; otherwise a rim round the keys. |
readonly height | number | |
readonly padding | readonly [number, number, number, number] | Top, right, bottom, left. |
readonly room | number | Widest the board may grow, px. |
readonly width | number | The element's box, px. |
Defined in packages/text/src/keycaps.ts.