PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.2
Elementor Website Builder – more than just a page builder v4.0.2
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
elementor / modules / atomic-widgets / elements / atomic-svg / atomic-svg.html.twig

atomic-svg.html.twig in Elementor Website Builder – more than just a page builder 4.0.2, at modules/atomic-widgets/elements/atomic-svg/atomic-svg.html.twig

17 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {%- if settings.svg.html is defined and settings.svg.html is not empty -%}
2 {%- set classes = settings.classes | merge([base_styles.base]) | join(' ') -%}
3 {%- set id_attribute = settings._cssid is not empty ? 'id="' ~ settings._cssid | e('html_attr') ~ '"' : '' -%}
4 {%- if settings.link.href is defined and settings.link.href is not empty -%}
5 {%- set linkAttr = settings.link.tag == 'a' ? 'href' : 'data-action-link' -%}
6 <{{ settings.link.tag | e('html_tag') }} {{ linkAttr }}="{{ settings.link.href | raw }}" target="{{ settings.link.target }}" class="{{ classes }}" data-interaction-id="{{ interaction_id }}"
7 {%- if id_attribute is not empty %} {{ id_attribute }}{% endif -%}
8 {%- if settings.attributes is defined and settings.attributes is not empty %} {{ settings.attributes | raw }}{% endif -%}
9 >{{ settings.svg.html | raw }}</{{ settings.link.tag | e('html_tag') }}>
10 {%- else -%}
11 <div class="{{ classes }}" data-interaction-id="{{ interaction_id }}"
12 {%- if id_attribute is not empty %} {{ id_attribute }}{% endif -%}
13 {%- if settings.attributes is defined and settings.attributes is not empty %} {{ settings.attributes | raw }}{% endif -%}
14 >{{ settings.svg.html | raw }}</div>
15 {%- endif -%}
16 {%- endif -%}
17