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

    Type Alias TrafficFlowKnobId

    TrafficFlowKnobId:
        | "visible"
        | `filters.any.0.${ValuesFilterKnobPath<
            Exclude<keyof TrafficFlowFilter, "showRoadClosures">,
        >}`
        | "filters.any.0.showRoadClosures"

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

    The filter knobs set the first of the filters.any alternatives.