mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
f1e476d6af
closes TryGhost/Team#2163 - `forceRender` property adds ability to render content of tabs in advance (even if tab wasn't selected)
32 lines
756 B
Handlebars
32 lines
756 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
|
|
forceRender=@forceRender
|
|
)
|
|
)
|
|
}}
|
|
</div>
|