Layout size change component

Triggers an event when the layout size is likely to have changed, such as when the viewport has been resized or displacement has changed.
id: layout_size_change
title: 'Layout size change'
description: 'Triggers an event when the layout size is likely to have changed, such as when the viewport has been resized or displacement has changed.'
class: Drupal\ambientimpact_ux\Plugin\AmbientImpact\Component\LayoutSizeChange
provider: ambientimpact_ux
{  }
component.layout_size_change:
  js:
    components/layout_size_change/layout_size_change.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_core/component.event.lazy_resize
    - ambientimpact_core/component.fastdom
    - ambientimpact_core/framework