overleaf/services/web/app/views/_mixins/bookmarkable_tabset.pug

10 lines
226 B
Text
Raw Normal View History

mixin bookmarkable-tabset-header(id, title, active)
li(role="presentation" class=(active ? 'active' : ''))
a(
href='#' + id
aria-controls=id
role="tab"
data-toggle="tab"
data-ol-bookmarkable-tab
) #{title}