mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-04 00:02:43 -04:00
Move _isShown() method to private section (#41220)
This commit is contained in:
parent
a03a9d6696
commit
3bb3c95188
@ -204,11 +204,11 @@ class Collapse extends BaseComponent {
|
||||
this._queueCallback(complete, this._element, true)
|
||||
}
|
||||
|
||||
// Private
|
||||
_isShown(element = this._element) {
|
||||
return element.classList.contains(CLASS_NAME_SHOW)
|
||||
}
|
||||
|
||||
// Private
|
||||
_configAfterMerge(config) {
|
||||
config.toggle = Boolean(config.toggle) // Coerce string values
|
||||
config.parent = getElement(config.parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user