0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Move and update migration notes

This commit is contained in:
XhmikosR 2020-10-01 09:24:49 +03:00
parent 6c32de8711
commit adec91e8fc

View File

@ -56,6 +56,9 @@ Breakpoints specific variants are consequently renamed too (eg. `.text-md-start`
### JavaScript ### JavaScript
- Data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, we use `data-bs-toggle` instead of `data-toggle`. - Data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, we use `data-bs-toggle` instead of `data-toggle`.
- Updated Popper to v2.x:
- Removed `offset` option from our Tooltip/Popover and Dropdown plugins; this can still be achieved using the `popperConfig` parameter.
- The `fallbackPlacement` option has become `fallbackPlacements`.
### Sass ### Sass
@ -283,8 +286,6 @@ Changes to our source and compiled JavaScript files.
- Dropped jQuery dependency and rewrote plugins to be in regular JavaScript. - Dropped jQuery dependency and rewrote plugins to be in regular JavaScript.
- Removed underscore from public static methods like `_getInstance()``getInstance()`. - Removed underscore from public static methods like `_getInstance()``getInstance()`.
- Moved from Popper v1.x to Popper v2.x
- Removed `offset` option from our Tooltip/Popover and Dropdown plugin, this can still be achieve using `popperConfig` parameter.
### Color system ### Color system