Skip to content

Interface: SliderSchema¶

core.SliderSchema

A schema representing a return value or object property that is a number that should be rendered as a slider.

Hierarchy¶

↳ SliderSchema

Properties¶

codaType¶

• codaType: Slider

Instructs Coda to render this value as a slider.

Overrides¶

BaseNumberSchema.codaType

Defined in¶

schema.ts:460


description¶

• Optional description: string

A explanation of this object schema property shown to the user in the UI.

If your pack has an object schema with many properties, it may be useful to explain the purpose or contents of any property that is not self-evident.

Inherited from¶

BaseNumberSchema.description

Defined in¶

schema.ts:237


maximum¶

• Optional maximum: string | number

The maximum value selectable by this slider.

Defined in¶

schema.ts:464


minimum¶

• Optional minimum: string | number

The minimum value selectable by this slider.

Defined in¶

schema.ts:462


showValue¶

• Optional showValue: boolean

Whether to display the underlying numeric value in addition to the slider.

Defined in¶

schema.ts:468


step¶

• Optional step: string | number

The minimum amount the slider can be moved when dragged.

Defined in¶

schema.ts:466


type¶

• type: Number

Identifies this schema as relating to a number value.

Inherited from¶

BaseNumberSchema.type

Defined in¶

schema.ts:315