Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ addDarkmodeWidget
Function
addDarkmodeWidget
index.js:1–3 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
function
addDarkmodeWidget() {
2
new
Darkmode().showWidget();
3
}
4
window.addEventListener(
'load'
, addDarkmodeWidget);
5
6
const
options = {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected