mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
f1e476d6af
closes TryGhost/Team#2163 - `forceRender` property adds ability to render content of tabs in advance (even if tab wasn't selected)
12 lines
267 B
Handlebars
12 lines
267 B
Handlebars
<div
|
|
id="{{this.tabId}}-panel"
|
|
role="tabpanel"
|
|
tabindex="0"
|
|
aria-labelledby="{{this.tabId}}"
|
|
class="tab-panel {{if this.isSelectedTab "tab-panel-selected" }}"
|
|
>
|
|
{{#if (or this.isSelectedTab @forceRender)}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</div>
|