animateLayout

View Source

Summary

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

Signature

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

Params

config

Layout animation configuration.

Returns

A mixin descriptor for the target element.