vj4/ui/components/tab/Tab.js
Function switchToTab
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async switchToTab(idx) {
if (idx === this.currentIndex) {
return;
}
if (this.isAnimating) {
Function attach
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attach() {
if (this.attached) {
return false;
}