mediawiki-skins-MinervaNeue/includes/Skins/Button.mustache
bwang c188fac106 Clean up setIcon now that classes and icon types are removed
Bug: T319260
Change-Id: I354dafd6bea92ef61f6d25b5943ef9d933daa2a0
2023-08-24 21:37:40 +00:00

7 lines
540 B
Plaintext

<{{^tag-name}}button{{/tag-name}}{{#tag-name}}{{.}}{{/tag-name}}
{{#tag-name}}role="button"{{/tag-name}}
{{#array-attributes}}{{key}}="{{value}}"{{/array-attributes}}
class="cdx-button cdx-button--size-large{{#tag-name}} cdx-button--fake-button cdx-button--fake-button--enabled{{/tag-name}}{{#data-icon}} cdx-button--icon-only cdx-button--weight-quiet{{/data-icon}}{{#classes}} {{.}}{{/classes}}">
{{#data-icon}}{{>Icon}}{{/data-icon}}<span>{{ label }}</span>
</{{^tag-name}}button{{/tag-name}}{{#tag-name}}{{.}}{{/tag-name}}>