light-bulb

light-bulb #

@furo/util v2.1.19
import '@furo/util/src/doc/light-bulb.js';
exports LightBulb js
exports <light-bulb> custom-element-definition
superclass LitElement
mixes FBP

summary a light bulb for the documentation

light-bulb

This component is for the documentation

Attributes and Properties #

on #

on Boolean

Switch on the bulb

off #

off reflects boolean default: true

Switch of the bulb

color #

default: "#fee753"



Methods #

setColor #

setColor(color `` ) ⟹ void

`` fn-set-color

  • color

toggle #

toggle() ⟹ void

*fn-toggle

toggles the light bulb on off