IRangeParams Interface

A structure defining a range of values.

example
configuration = {
    widgets: {
        common: {
            fauxBold: true,
            fontSize: {
                max: 50,
                min: 5,
                step: 5
            },
            tracking: {
                max: 100,
                min: -50,
                step: 25
            },
            leading: {
                max: 50,
                min: 5,
                step: 5
            }
        }
    }
};

Properties

Optional max

max: number

Sets a min value of a range.

Optional min

min: number

Sets a max value of a range.

Optional step

step: number

The parameter changes by this step value.