{if(e.detail >= 0){tab.setData( e.detail); }} }>
{#if $$slots.title1}
"tab "+(selected ? "primary" : "")}>
Tab 0
{/if}
{#if $$slots.title1}
"tab "+(selected ? "primary" : "")}>
{/if}
{#if $$slots.title2}
"tab "+(selected ? "primary" : "")}>
{/if}
{#if $$slots.title3}
"tab "+(selected ? "primary" : "")}>
{/if}
{#if $$slots.title4}
"tab "+(selected ? "primary" : "")}>
{/if}