Oktober 20, 2020
Di Dalam Artikel ini...
const navigation = document.querySelector('[data-slide-navigation]'); const details = navigation.querySelectorAll('details'); details.forEach(detail => { if (detail.querySelector('a[aria-current="page"]')) { detail.setAttribute('open', ''); } });