bootstrap
bootstrap copied to clipboard
Modal dynamic configs
Closes: #39290
Description
Adds the ability to change a predefined configuration using callback functions to change runtime behavior without the need for complex configurations.
Motivation & Context
At the moment, bootstrap does not have the ability to somehow influence the rules that were set when creating the component. Not to mention creating dynamic behavior depending on the context.
Type of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Refactoring (non-breaking change)
- [x] Breaking change (fix or feature that would change existing functionality)
Checklist
- [x] I have read the contributing guidelines
- [x] My code follows the code style of the project (using
npm run lint) - [x] My change introduces changes to the documentation
- [x] I have updated the documentation accordingly
- [x] I have added tests to cover my changes
- [x] All new and existing tests passed