bulb
A filament lamp, drawn as a circle crossed through, that glows by the power it takes.
bulbOn this page


#Attributes
resistanceThe filament's resistance, in ohms.
circuit-quantityDefault
10ratedThe voltage the bulb is made for, at which it glows full.
circuit-quantitycolourThe hue the bulb glows in, instead of the circuit's
colour:.paintAlso written:
colorfromThe grid point its first end lands on, in a circuit placed by hand.
circuit-pointtoThe grid point its second end lands on, in a circuit placed by hand.
circuit-pointhiddenTakes the bulb out of its holder, leaving the circuit open there.
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 the bulb, in amperes.
voltageThe voltage across the bulb, in volts.
powerThe power the bulb takes, in watts.
#Allowed content
Body { }The bulb's label, rich inline