Scroll proxy component
Translates elements based on their position in the viewport.
id: scroll_proxy title: 'Scroll proxy' description: 'Translates elements based on their position in the viewport.' class: Drupal\ambientimpact_ux\Plugin\AmbientImpact\Component\ScrollProxy provider: ambientimpact_ux
{ }
component.scroll_proxy: css: component: components/scroll_proxy/scroll_proxy.css: { } js: components/scroll_proxy/scroll_proxy.js: attributes: defer: true dependencies: - ambientimpact_core/component.event.lazy_resize - ambientimpact_core/component.fastdom - ambientimpact_ux/motion_one - ambientimpact_core/framework