Add using class or data attribute
lundmikkel opened this issue · 0 comments
lundmikkel commented
Most of Bootstrap's JavaScript works by simply adding a class or data attribute to the concerned element(s). It could be nice to simply be able to use the plugin by adding something like class="navbar-autohide"
or changing settings with data attributes.