mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
14 lines
349 B
Handlebars
14 lines
349 B
Handlebars
|
<button
|
||
|
class="tab {{if this.isSelectedTab "tab-selected" }}"
|
||
|
id="{{this.id}}"
|
||
|
type="button"
|
||
|
role="tab"
|
||
|
aria-selected="{{this.isSelectedTab}}"
|
||
|
aria-controls="{{this.id}}-panel"
|
||
|
tabindex="{{if this.isSelectedTab "0" "-1"}}"
|
||
|
{{on "click" this.handleClick}}
|
||
|
{{on "keyup" this.handleKeyup}}
|
||
|
>
|
||
|
{{yield}}
|
||
|
</button>
|