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

palcarazm / bootstrap5-toggle
96%
v5: 96%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/minor-and-patch-updates-d67ff5d44a
DEFAULT BRANCH: v5
Repo Added 13 Mar 2023 07:40AM UTC
Files 7
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

LAST BUILD ON BRANCH develop/v5.3.0
branch: develop/v5.3.0
CHANGE BRANCH
x
Reset
  • develop/v5.3.0
  • chore/contributing
  • ci/commit-SHA
  • ci/updates
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-7
  • dependabot/github_actions/actions/setup-node-6
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/actions/upload-pages-artifact-4
  • dependabot/github_actions/cypress-io/github-action-7.1.0
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/minor-and-patch-updates-2a9f7e08de
  • dependabot/github_actions/minor-and-patch-updates-572cdca6d9
  • dependabot/github_actions/minor-and-patch-updates-d67ff5d44a
  • dependabot/npm_and_yarn/commitlint-20.3.1
  • dependabot/npm_and_yarn/commitlint/cli-20.3.1
  • dependabot/npm_and_yarn/commitlint/config-conventional-20.3.1
  • dependabot/npm_and_yarn/cypress-15.8.2
  • dependabot/npm_and_yarn/cypress-15.9.0
  • dependabot/npm_and_yarn/globals-17.0.0
  • dependabot/npm_and_yarn/globals-17.1.0
  • dependabot/npm_and_yarn/jquery-4.0.0
  • dependabot/npm_and_yarn/lodash-4.17.23
  • dependabot/npm_and_yarn/rollup-4.55.1
  • dependabot/npm_and_yarn/rollup-4.56.0
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.53.0
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.53.1
  • dependabot/npm_and_yarn/typescript-eslint/parser-8.53.0
  • dependabot/npm_and_yarn/typescript-eslint/parser-8.53.1
  • develop/5.3.0
  • develop/5.4.0
  • develop/v5.2.0
  • feat/215
  • feat/232
  • feat/233
  • feat/258
  • fix/242
  • fix/257
  • fix/261
  • fix/287
  • fix/289
  • fix/sonar
  • v5

18 Jan 2026 11:31AM UTC coverage: 95.82% (+2.6%) from 93.203%
21111023697

Pull #271

github

palcarazm
feat: add Bootstrap tooltip support

Adds comprehensive Bootstrap tooltip support to Bootstrap Toggle with
the following features:

## Tooltip Configuration
- **Element attributes**: Configure via `data-tooltip-title-on`,
  `data-tooltip-title-off`, `data-tooltip-title-mixed`, and
  `data-tooltip-placement`
- **JavaScript API**: Pass tooltip options during toggle initialization
- **Mixed state support**: Optional tooltip for indeterminate state
- **Placement options**: `top`, `bottom`, `left`, `right` with validation

## Implementation Details
- **Dynamic updates**: Tooltip content updates automatically when toggle
  state changes (ON/OFF/INDETERMINATE)
- **Graceful degradation**: Fails silently if Bootstrap is not loaded
- **HTML content support**: Safely renders HTML in tooltips using
  existing sanitization system
- **Proper cleanup**: Tooltips are disposed when toggle is destroyed

Implements #215 Proposed by @saper-2
Pull Request #271: release: v5.3.0

394 of 429 branches covered (91.84%)

Branch coverage included in aggregate %.

138 of 138 new or added lines in 5 files covered. (100.0%)

523 of 528 relevant lines covered (99.05%)

98.15 hits per line

Relevant lines Covered
Build:
Build:
528 RELEVANT LINES 523 COVERED LINES
98.15 HITS PER LINE
Source Files on develop/v5.3.0
  • Tree
  • List 7
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21111023697 develop/v5.3.0 feat: add Bootstrap tooltip support Adds comprehensive Bootstrap tooltip support to Bootstrap Toggle with the following features: ## Tooltip Configuration - **Element attributes**: Configure via `data-tooltip-title-on`, `data-tooltip-title-off... Pull #271 18 Jan 2026 11:32AM UTC palcarazm github
95.82
21093533329 develop/v5.3.0 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: `toggl... Pull #271 17 Jan 2026 11:27AM UTC palcarazm github
95.51
21091529280 develop/v5.3.0 Merge 99a689ec0 into 74e37acb0 Pull #271 17 Jan 2026 08:38AM UTC web-flow github
95.02
20899724107 develop/v5.3.0 fix(security): add HTML sanitization with allow-list for toggle labels (#264) * fix(security): add HTML sanitization with allow-list for toggle labels Implement secure HTML sanitization using allow-list approach to prevent XSS vulnerabilities w... push 11 Jan 2026 06:18PM UTC web-flow github
95.16
20895861676 develop/v5.3.0 feat(performance): batch DOM calculations using requestAnimationFrame (#263) Add requestAnimationFrame optimization to prevent forced synchronous reflows during toggle size calculations. This significantly improves performance when rendering mult... push 11 Jan 2026 01:24PM UTC web-flow github
94.93
20880214913 develop/v5.3.0 feat(core): add full ARIA accessibility support to BootstrapToggle Enhances the BootstrapToggle component with full ARIA accessibility, making it usable with screen readers and other assistive technologies. Key changes: - Added role="switch" to... push 10 Jan 2026 03:10PM UTC palcarazm github
93.05
20879184981 develop/v5.3.0 Merge pull request #255 from palcarazm/develop/v5.2.0 refactor: sonar fixes push 10 Jan 2026 01:42PM UTC web-flow github
93.22
See All Builds (149)
  • Repo on GitHub
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