Observes its container and its first visible child. Applies a translate + scale transform to the child so it fills the container while maintaining aspect ratio — letterboxing or pillarboxing as needed. No shadow DOM: the child element is transformed in place.
html
<ef-fit-scale style="width: 100%; height: 400px;">
<ef-timegroup mode="fixed" duration="5s" class="w-[1920px] h-[1080px]">
<!-- composition content -->
</ef-timegroup>
</ef-fit-scale>Attributes
1 of 1
paused
- React prop
paused- Type
boolean- Default
false- Description
- Pauses automatic scale recalculation.