• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

palcarazm / bs-darkmode-toggle / 24135214111
97%
v1: 98%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/minor-and-patch-updates-b47236feb0
DEFAULT BRANCH: v1
Ran 08 Apr 2026 12:26PM UTC
Jobs 2
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Apr 2026 12:25PM UTC coverage: 98.707% (+0.3%) from 98.405%
24135214111

push

github

palcarazm
feat: add custom darkmode:change event with rich detail

- Add EventManager class to centralize event dispatching logic
- Dispatch darkmode:change event with detail containing isLight, theme, source, and roots
- Dispatch event on both toggle element and all configured root elements
- Preserve backward compatibility by continuing to dispatch legacy 'change' event
- Respect silent parameter by suppressing all events when true
- Cache root elements on initialization for better performance
- Add comprehensive unit tests for EventManager
- Update E2E tests to verify both change and darkmode:change events
- Add documentation page with interactive example

Implements #63

198 of 202 branches covered (98.02%)

Branch coverage included in aggregate %.

22 of 23 new or added lines in 4 files covered. (95.65%)

260 of 262 relevant lines covered (99.24%)

109.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.58
0.89% src/main/ts/DarkModeToggle.ts
Jobs
ID Job ID Ran Files Coverage
1 coverage-report-22.x - 24135214111.1 08 Apr 2026 12:26PM UTC 34
98.92
GitHub Action Run
2 coverage-report-24.x - 24135214111.2 08 Apr 2026 12:26PM UTC 34
98.92
GitHub Action Run
Source Files on build 24135214111
  • Tree
  • List 17
  • Changed 12
  • Source Changed 1
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24135214111
  • 6ab39f69 on github
  • Prev Build on develop/1.1.0 (#24134188056)
  • Next Build on develop/1.1.0 (#24141672558)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc