I have a native webflow tab component setup. I wanted to Set active tab to none on mobile or tablet view through code.
<script>
jQuery(document).ready(function($) {
let mq = window.matchMedia( '(max-width: 768px)' );
if (mq.matches) {
setTimeout(function() {
// set active tab as to none instead of have a tab set to default in the designer
})
}
});
</script>
I appreciate any help in controlling the native tab component through code.
Thank you