You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pug, I'm trying to set up a template like this:
ui-tabs(:fullwidth="true")
ui-tab(:selected="true")
div(slot="header")
spanOverviewulli(v-for="item in files" @click="tabs.push(item)") {{item}}
ui-tab(v-for="tab, idx in tabs")
div(slot="header")
span {{tab}}
ui-icon-button(icon="close"size="small" @click.prevent="tabs.splice(idx, 1)")
The issue is that the @click for the ui-icon-button never gets triggered. I believe this is due to the way the render control is set up to indirectly render the tab header.
The text was updated successfully, but these errors were encountered:
The current tab header implementation is not ideal and I've been meaning to rewrite it. I'll look into dynamic components to see if it can help here, thanks for the link 👍.
Using pug, I'm trying to set up a template like this:
The issue is that the
@click
for theui-icon-button
never gets triggered. I believe this is due to the way therender
control is set up to indirectly render the tab header.The text was updated successfully, but these errors were encountered: