flowbite
flowbite copied to clipboard
Interactive Tabs: Save last viewed tab in localStorage -> enable with data-tabs-save
Updated both the docs tabs.md as well as the component tabs.js.
It is now possible to save the last open tab by adding data-tabs-save to the toggle element. No value needed as this is a boolean.
Exact functionality described in commit of tabs.js. ae1fc7d3f2f9dd26f8a2e27cdc2bcf7414e37652
Hey @cainytheslave,
Thanks for the PR. I'll take a look at it today!