Link: file component

Marks links to common document and video files with a class and marks them as external, causing them to open in a new tab.
id: link.file
title: 'Link: file'
description: 'Marks links to common document and video files with a class and marks them as external, causing them to open in a new tab.'
class: Drupal\ambientimpact_ux\Plugin\AmbientImpact\Component\LinkFile
provider: ambientimpact_ux
{  }
component.link.file:
  js:
    components/link.file/link.file.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_ux/component.link.external
    - ambientimpact_core/framework