bootstrap-component-js
A skill from the Bootstrap repository for adding JavaScript behaviour to a Bootstrap 6 component.
Was der Skill vermittelt
A skill from the Bootstrap repository for adding JavaScript behaviour to a Bootstrap 6 component. The agent writes a TypeScript module that extends Bootstrap's BaseComponent class, defines and validates config options, adds paired before and after events, wires the data attribute API, optionally positions elements with Floating UI or wraps a third-party library, cleans up in dispose, registers the export and adds a Vitest browser test. It then checks the work with the repository's lint, type-check, test, build and bundle-size scripts. A short final section shows how a project using Bootstrap can extend BaseComponent for its own components, with a warning about name clashes.
Funktionen
- Write a Bootstrap 6 plugin that extends BaseComponent
- Add config options, events and the data attribute API
- Position menus and tooltips with Floating UI
- Add a Vitest browser test for a component
Überblick
- Herausgeber
- Bootstrap
- Tool
- Frontend-Design
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Frontend-Design | |
| Herausgeber | Bootstrap | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 2026175.039 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- Skill-Datei (SKILL.md)github.com/twbs/bootstrap10. Nov. 2026
- GitHub-Repositorygithub.com/twbs/bootstrap · Belegt: Lizenz, Herausgeber, Aktivität11. Nov. 2026
- Ordner im Repository (bootstrap-component-js)github.com/twbs/bootstrap · Belegt: Enthält Skripte10. Nov. 2026