Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/util/backdrop.js')
-rw-r--r--js/dist/util/backdrop.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/js/dist/util/backdrop.js b/js/dist/util/backdrop.js
index e2b018b51e..b425c44c85 100644
--- a/js/dist/util/backdrop.js
+++ b/js/dist/util/backdrop.js
@@ -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