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:
committed by
Mark Otto
parent
824c5a077b
commit
c137d11aa2
@@ -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)'
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user