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

palcarazm / bootstrap5-toggle / 21093533329
96%
v5: 93%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: v5
Ran 17 Jan 2026 11:27AM UTC
Jobs 2
Files 6
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

17 Jan 2026 11:27AM UTC coverage: 95.512% (+2.3%) from 93.203%
21093533329

Pull #271

github

palcarazm
feat: emit custom DOM events for toggle state changes

Add custom event system that exposes internal toggle state changes
through DOM events, providing better integration with frameworks and debugging
capabilities.

- Add six custom events: `toggle:on`, `toggle:off`, `toggle:mixed`,
  `toggle:enabled`, `toggle:disabled`, `toggle:readonly`
- Events include current state in detail payload via `ToggleEventDetail`
- Modify `apply()` method to trigger appropriate events based on action type
- Remove silent parameter from `update()` method (now sync-only)
- Extend `HTMLInputElementEventMap` for TypeScript support
- Update tests to verify event dispatching behavior

Implements 233
Pull Request #271: release: v5.3.0

338 of 372 branches covered (90.86%)

Branch coverage included in aggregate %.

107 of 108 new or added lines in 4 files covered. (99.07%)

3 existing lines in 1 file now uncovered.

492 of 497 relevant lines covered (98.99%)

64.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.5
5.33% src/main/ts/core/DOMBuilder.ts

Uncovered Existing Lines

Lines Coverage ∆ File
3
92.5
5.33% src/main/ts/core/DOMBuilder.ts
Jobs
ID Job ID Ran Files Coverage
1 coverage-report-22.x - 21093533329.1 17 Jan 2026 11:27AM UTC 12
96.74
GitHub Action Run
2 coverage-report-24.x - 21093533329.2 17 Jan 2026 11:27AM UTC 12
96.74
GitHub Action Run
Source Files on build 21093533329
  • Tree
  • List 6
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21093533329
  • Pull Request #271
  • PR Base - v5 (#21091018699)
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