QuantityListOptions
Interface in @sascom/commonjs.
API catalogue · @sascom/commonjs · Interface
TypeScript#
interface QuantityListOptionsOptions of parseQuantityList
Inheritance and interfaces#
Members#
| Member | Kind | Description |
|---|---|---|
| defaultUnit | Property | The unit of a number typed without one; default the kind's canonical unit. Show it to the user. inheritedFrom: QuantityOptions.defaultUnit |
| expressions | Property | false refuses + - * / and brackets; default true inheritedFrom: QuantityOptions.expressions |
| kind | Property | What the text must be; default "length" inheritedFrom: QuantityOptions.kind |
| labels | Property | Letters that can lead an item ("x60cm y-20cm" with ["x", "y", "z"]) |
defaultUnit#
TypeScript#
defaultUnit?: stringThe unit of a number typed without one; default the kind's canonical unit. Show it to the user.
inheritedFrom: QuantityOptions.defaultUnit
expressions#
TypeScript#
expressions?: booleanfalse refuses + - * / and brackets; default true
inheritedFrom: QuantityOptions.expressions
kind#
TypeScript#
kind?: QuantityKindWhat the text must be; default "length"
inheritedFrom: QuantityOptions.kind
labels#
TypeScript#
labels?: (string)[]Letters that can lead an item ("x60cm y-20cm" with ["x", "y", "z"])