-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature-request: Tabs, listen for programmatic change in value #31
Comments
A fix for this would be to manually set the "tabid" prop for each "Tab" component, then in the "Tabs" component which wraps the "Tab" components you "bind:progVar" where progVar is your programmatic variable which can then be used in your svelte scripts. I set up the logic to connect a url router to the tabs in a navbar like so:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am changing the bind:active value with a button, but the tab doesn't become active.
The text was updated successfully, but these errors were encountered: