consul/ui-v2/app/components/data-source/index.hbs

5 lines
218 B
Handlebars

{{#if (eq loading "lazy")}}
{{! in order to use intersection observer we need a DOM element on the page}}
<data id={{guid}} aria-hidden="true" style="width: 0;height: 0;font-size: 0;padding: 0;margin: 0;" />
{{/if}}