Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Latest commit

 

History

History
40 lines (29 loc) · 823 Bytes

File metadata and controls

40 lines (29 loc) · 823 Bytes

slider

md-slider

Example

{
    type: "slider",
    key: "rate",
    templateOptions: {
        theme: "custom",
        min: 1,
        max: 5,
        step: 0.5,
        discrete: true
    }
}

Configuration

templateOptions.label : string

templateOptions.theme : string

templateOptions.disabled : boolean

templateOptions.className : string | expression | array

templateOptions.min : number (default: 0)

The minimum value the user is allowed to pick.

templateOptions.max : number (default: 100)

The maximum value the user is allowed to pick.

templateOptions.step : number (default: 1)

The distance between values the user is allowed to pick.

templateOptions.discrete : boolean (default: false)

Whether to enable discrete mode