This is the documentation of version 0.63.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias TrafficFlowKnobId

    TrafficFlowKnobId:
        | "visible"
        | ValuesFilterKnobId<
            `filters.${Exclude<keyof TrafficFlowFilter, "roadClosures">}`,
        >
        | "filters.roadClosures"
        | `colors.${keyof TrafficFlowColors}`
        | "widthFactor"

    The id of a traffic flow knob: its path into TrafficFlowModuleConfig, e.g. visible or filters.roadCategories.values. See trafficFlowKnobCatalogue for what each one does.

    The filter knobs set the fields of filters; its any alternatives are config only.