mediawiki-extensions-Tabber.../includes/templates/Tabber.mustache
alistair3149 d5f9e03d47
feat: allow id and class attributes to be set on Tabber
Closes: #183, #193

Co-Authored-By: Thomas-programmiert <Thomas-programmiert@users.noreply.github.com>
2024-11-19 16:20:05 -05:00

11 lines
500 B
Plaintext

<div id="{{id}}" class='tabber tabber--init {{class}}'>{{!
}}<header class="tabber__header">{{!
}}<button class="tabber__header__prev" aria-hidden="true"></button>{{!
}}<nav class="tabber__tabs" role="tablist">{{!
}}{{#array-tabs}}{{>TabberTab}}{{/array-tabs}}{{!
}}{{#html-tabs}}{{{.}}}{{/html-tabs}}{{!
}}</nav>{{!
}}<button class="tabber__header__next" aria-hidden="true"></button>{{!
}}</header>{{!
}}<section class="tabber__section">{{>TabberTabpanel}}</section>{{!
}}</div>