Remix
Remix
remix/ui/animation · FunctionView Source

animateLayout

Summary

Animates layout changes for an element using FLIP-style transforms.

Signature

function animateLayout<target extends EventTarget>(
  config: LayoutConfig,
): MixinDescriptor<target, [LayoutConfig?], ElementProps>;

Parameters

config

Layout animation configuration.

Returns

A mixin descriptor for the target element.