Skip to content

potTerminals

potTerminals(device, quietDistance, opampInputDistance, controlRole?): readonly [number, number, number]

Defined in: packages/compiler/src/pot-orientation.ts:218

Device

ReadonlyMap<number, number>

ReadonlyMap<number, number>

string | null

The declared role of the control that varies this pot, when the document states one. Only consulted for the rheostat exemption below; every other path ignores it, and a call site that has no role passes null and gets today’s behaviour exactly.

readonly [number, number, number]