Skip to content

charton API


charton API / @chart-on/core / index / InputField

Interface: InputField ​

Defined in: packages/core/src/indicators/inputs.ts:16

One input of a settings form, evaluated against the current values.

Properties ​

disabled ​

disabled: boolean

Defined in: packages/core/src/indicators/inputs.ts:23

From the input's disabled; a throwing callback counts as enabled.


error ​

error: string | null

Defined in: packages/core/src/indicators/inputs.ts:25

Why the value is rejected (wrong type or range, or the input's validate message); null when it is fine.


input ​

input: InputDef

Defined in: packages/core/src/indicators/inputs.ts:17


value ​

value: InputValue

Defined in: packages/core/src/indicators/inputs.ts:19

The current value, or the default when none is given.


visible ​

visible: boolean

Defined in: packages/core/src/indicators/inputs.ts:21

From the input's visible; a throwing callback counts as shown.