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

#Attributes
resistanceIts resistance, in ohms:
4.7k, or an expression a slider moves. Animatable.circuit-quantityDefault
10fromIn a circuit placed by hand, the grid point its first end lands on.
circuit-pointtoIn a circuit placed by hand, the grid point its second end lands on.
circuit-pointhiddenTaken out of the circuit, which is open where it stood. Animatable.
Default
false#Derived attributes
Computed while the element renders — read one with #id.name in attribute position or {{#id.name}} in prose, never set.
currentThe current through it from its first end to its second, in amperes.
voltageThe voltage it drops, in volts.
powerThe power it takes, in watts.
#Allowed content
Body { }The resistor's label, rich inline