Skip to content

JavaScriptUtilities/vanillaTabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla Tabs

Basic JS Tabs

How to install

First, load js/vanilla-tabs.js in your webpage.

Then, when DOM is ready, start the plugin :

<script>
new vanillaTabs({
    triggers: document.querySelectorAll('.dk-jsu-triggers a'),
    targets:  document.querySelectorAll('.dk-jsu-targets p')
});
</script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published