1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-28 14:29:07 +02:00

Re-ordering js default objects

This commit is contained in:
louismaxime.piton
2022-05-19 15:35:44 +02:00
committed by Mark Otto
parent 824c5a077b
commit c137d11aa2
10 changed files with 71 additions and 71 deletions

View File

@@ -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)'
}
/**