open-consul/ui/packages/consul-ui/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}}