Skip to content

feat: controll your tabs externally - #12

Open
tavoli wants to merge 1 commit into
nickyhajal:masterfrom
tavoli:master
Open

feat: controll your tabs externally#12
tavoli wants to merge 1 commit into
nickyhajal:masterfrom
tavoli:master

Conversation

@tavoli

@tavoli tavoli commented Aug 16, 2020

Copy link
Copy Markdown

Hi, I'm amazed how we managed to do amazing things with so little svelte code and I love your lib.

I lovely make this

<script>
  let tabComponent
</script>

<Tabs bind:this={tabComponent}>
 ...
</Tabs>

<button on:click={() => tabComponent.nextTab()}>next tab</button>

You would appreciate my PR?

@rgwch

rgwch commented Feb 11, 2023

Copy link
Copy Markdown

It would be great having this possibility to switch tabs programatically. Or is there another way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants