resistor

A resistor, drawn as the IEC box, lit while a current runs through it.

resistorNode
Two resistors of 4 Ω and 8 Ω in series with a 12 V cell, a voltmeter in parallel with the 8 Ω resistor reading 8 V.Two resistors of 4 Ω and 8 Ω in series with a 12 V cell, a voltmeter in parallel with the 8 Ω resistor reading 8 V.

#Attributes

resistanceAnimatable
Its resistance, in ohms: 4.7k, or an expression a slider moves. Animatable.
circuit-quantity
Default10
from
In a circuit placed by hand, the grid point its first end lands on.
circuit-point
to
In a circuit placed by hand, the grid point its second end lands on.
circuit-point
hiddenAnimatable
Taken out of the circuit, which is open where it stood. Animatable.
Defaultfalse

#Derived attributes

Computed while the element renders — read one with #id.name in attribute position or {{#id.name}} in prose, never set.

currentDerived
The current through it from its first end to its second, in amperes.
voltageDerived
The voltage it drops, in volts.
powerDerived
The power it takes, in watts.

#Allowed content

Body { }The resistor's label, rich inline

#Allowed in

Last updated