diff options
| author | louismaxime.piton <[email protected]> | 2022-05-19 15:35:44 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2022-06-01 19:24:45 -0700 |
| commit | c137d11aa2df111e2a42bc42295576fdd366fd68 (patch) | |
| tree | 9c93a9dbd479be01cb803c8bc294fee4028084f1 /js/src/util/backdrop.js | |
| parent | 824c5a077bfed3a3d3d80aef4cae1bc486d69f79 (diff) | |
| download | bootstrap-c137d11aa2df111e2a42bc42295576fdd366fd68.tar.xz bootstrap-c137d11aa2df111e2a42bc42295576fdd366fd68.zip | |
Re-ordering js default objects
Diffstat (limited to 'js/src/util/backdrop.js')
| -rw-r--r-- | js/src/util/backdrop.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/src/util/backdrop.js b/js/src/util/backdrop.js index 31619de71..bb01fbb99 100644 --- a/js/src/util/backdrop.js +++ b/js/src/util/backdrop.js @@ -20,18 +20,18 @@ const EVENT_MOUSEDOWN = `mousedown.bs.${NAME}` const Default = { className: 'modal-backdrop', - isVisible: true, // if false, we use the backdrop helper without adding any element to the dom + clickCallback: null, isAnimated: false, - rootElement: 'body', // give the choice to place backdrop under different elements - clickCallback: null + isVisible: true, // if false, we use the backdrop helper without adding any element to the dom + 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)' } /** |
