Font component

A JavaScript font loader built on top of Bram Stein's Font Face Observer.

id: font
title: Font
description: 'A JavaScript font loader built on top of Bram Stein''s Font Face Observer.'
class: Drupal\ambientimpact_ux\Plugin\AmbientImpact\Component\Font
provider: ambientimpact_ux
{  }
component.font:
  js:
    components/font/font.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_ux/fontfaceobserver
    - ambientimpact_core/framework