Skip to content

charton API


charton API / @chart-on/ui / index / QuantityPreset

Type Alias: QuantityPreset ​

QuantityPreset = number | "max" | `${number}%`

Defined in: ui/src/draft-editor.ts:8

A quantity keypad button: a quantity, the maximum, or a share of it such as '25%'.