Ghost/ghost/admin/app/components/tabs/tabs.hbs
2022-10-19 15:20:15 +04:00

31 lines
715 B
Handlebars

<div ...attributes>
<div
role="tablist"
class="tab-list"
>
{{yield
(hash
tab=(
component "tabs/tab"
selectedIndex=this.selectedIndex
onSelect=this.handleSelect
onKeyup=this.handleKeyup
id=this.addTabId
index=this.addTabIndex
)
)
}}
</div>
{{yield
(hash
tabPanel=(
component "tabs/tab-panel"
selectedIndex=this.selectedIndex
index=this.addPanelIndex
tabIds=this.tabIds
)
)
}}
</div>