Skip to content

Commit d9b28bd

Browse files
committed
refactor(Collapse): move _isShown() method to the private section
1 parent 024c226 commit d9b28bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/collapse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ class Collapse extends BaseComponent {
207207
this._queueCallback(complete, this._element, true)
208208
}
209209

210+
// Private
210211
_isShown(element = this._element) {
211212
return element.classList.contains(CLASS_NAME_SHOW)
212213
}
213214

214-
// Private
215215
_configAfterMerge(config) {
216216
config.toggle = Boolean(config.toggle) // Coerce string values
217217
config.parent = getElement(config.parent)

0 commit comments

Comments
 (0)