1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-30 23:36:47 +02:00

Release v5.2.0 (#36768)

* Bump version to 5.2.0

* Dist

* Update masthead.html
This commit is contained in:
XhmikosR
2022-07-19 18:43:58 +03:00
committed by GitHub
parent f451b4161e
commit edf9c40956
132 changed files with 1112 additions and 6592 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Bootstrap backdrop.js v5.2.0-beta1 (https://getbootstrap.com/)
* Bootstrap backdrop.js v5.2.0 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -16,7 +16,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.0-beta1): util/backdrop.js
* Bootstrap (v5.2.0): util/backdrop.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -30,19 +30,19 @@
const EVENT_MOUSEDOWN = `mousedown.bs.${NAME}`;
const Default = {
className: 'modal-backdrop',
clickCallback: null,
isAnimated: false,
isVisible: true,
// if false, we use the backdrop helper without adding any element to the dom
isAnimated: false,
rootElement: 'body',
// give the choice to place backdrop under different elements
clickCallback: null
rootElement: 'body' // give the choice to place backdrop under different elements
};
const DefaultType = {
className: 'string',
isVisible: 'boolean',
clickCallback: '(function|null)',
isAnimated: 'boolean',
rootElement: '(element|string)',
clickCallback: '(function|null)'
isVisible: 'boolean',
rootElement: '(element|string)'
};
/**
* Class definition