| 1 |
{% import 'elementor/macros' as m %} |
| 2 |
{% set classes = ['e-con', 'e-atomic-element', base_styles.base, m.default_tag_class('button')] | merge(settings.classes | default([])) | join(' ') %} |
| 3 |
<button class="{{ classes }} {{ editor_classes | default('') }}{{ is_active ? ' e--selected' : '' }}" |
| 4 |
data-id="{{ id }}" |
| 5 |
data-element_type="{{ type }}" |
| 6 |
data-e-type="{{ type }}" |
| 7 |
data-interaction-id="{{ interaction_id }}" |
| 8 |
data-interactions="{{ interactions | json_encode | e('html_attr') }}" |
| 9 |
role="tab" |
| 10 |
tabindex="{{ is_active ? '0' : '-1' }}" |
| 11 |
aria-selected="{{ is_active ? 'true' : 'false' }}" |
| 12 |
x-bind="tab" |
| 13 |
x-ref="{{ id }}" |
| 14 |
id="{{ tab_id }}" |
| 15 |
aria-controls="{{ tab_content_id }}" |
| 16 |
{% if settings.attributes is defined and settings.attributes is not empty %} |
| 17 |
{{ settings.attributes | raw }} |
| 18 |
{% endif %} |
| 19 |
{{ editor_attributes | default('') | raw }}><!-- elementor-children-placeholder --></button> |
| 20 |
|