mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 08:34:08 +02:00
Move _isShown() method to private section (#41220)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user