resistor

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

resistorNode
On this page
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
The resistance, in ohms.
circuit-quantity
Default10
from
The grid point its first end lands on, in a circuit placed by hand.
circuit-point
to
The grid point its second end lands on, in a circuit placed by hand.
circuit-point
hiddenAnimatable
Takes the resistor out of the circuit, which is open where it stood.
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