Font component

A JavaScript font loader.

id: font
title: Font
description: 'A JavaScript font loader.'
class: Drupal\ambientimpact_core\Plugin\AmbientImpact\Component\Font
provider: ambientimpact_core
{  }
component.font:
  js:
    components/font/font.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_core/fontfaceobserver
    - ambientimpact_core/framework