Eagles of the Republic review – a glossy portrait… | Little White Lies { const headerHeight = this.$el.querySelector(‘.header-main’).offsetHeight; this.menuHeight = `calc(100vh – ${headerHeight}px)`; // Check if we have enough height for more items const availableHeight = window.innerHeight – headerHeight; console.log(‘Available height:’, availableHeight); // Show 6 items only if we have significantly more space this.showMoreItems = availableHeight > 1200; console.log(‘Show more items:’, this.showMoreItems); }); }, shouldShowItem(index) { console.log(‘Checking item’, index, ‘showMoreItems:’, this.showMoreItems); return this.showMoreItems ? true : index { if (value) { setTimeout(() => $refs.menuContent.classList.add(‘overflow-y-auto’), 300); } else { $refs.menuContent.classList.remove(‘over
🎬 Watch
Article original publié sur Little White Lies — résumé généré par IA. Lire l’article complet sur le site source.
