@ekzo-dev/bootstrap-addons
v5.3.23
Published
Aurelia Bootstrap additional component
Downloads
547
Readme
@ekzo-dev/bootstrap-addons
Additional Bootstrap form components for Aurelia 2 applications.
This package extends @ekzo-dev/bootstrap with advanced form components that provide enhanced functionality beyond the standard Bootstrap form controls.
Installation
npm install @ekzo-dev/bootstrap-addonsPeer Dependencies
This package requires the following peer dependencies:
aurelia^2.0.0bootstrap~5.3.7@popperjs/core^2.11.8vanilla-jsoneditor~3.11.0immutable-json-patch^6.0.1
Usage
Register the plugin in your Aurelia application:
import Aurelia from 'aurelia';
import { BootstrapAddonsConfiguration } from '@ekzo-dev/bootstrap-addons';
Aurelia
.register(BootstrapAddonsConfiguration)
.app(MyApp)
.start();Components
| Component | Description | Documentation | |-----------|-------------|---------------| | Duration Input | Form control for entering time durations in ISO 8601 format | View docs | | Select Dropdown | Enhanced select component with improved styling and functionality | View docs |
Quick Examples
Duration Input
<bs-duration-input
value.bind="duration"
label="Duration"
required.bind="true"
></bs-duration-input>Select Dropdown
<bs-select-dropdown
value.bind="selectedValue"
options.bind="countries"
label="Country"
></bs-select-dropdown>Dependencies
This package uses:
- @ekzo-dev/bootstrap - Core Bootstrap components for Aurelia 2
- @ekzo-dev/toolkit - Utility functions and helpers
- @js-temporal/polyfill - Temporal API polyfill for date/time handling
Browser Support
This package supports all modern browsers that support ES2015+ and the following features:
- Custom Elements (Web Components)
- ES Modules
- Temporal API (polyfilled)
Contributing
Contributions are welcome! Please read the contributing guidelines first.
License
MIT © Ekzo
