For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias TransitionValueCodec<T>

Bridges a transitionable property's real value to/from the flat numeric props MaptilerAnimation interpolates between.

type TransitionValueCodec<T> = {
    fromNumeric(props: Record<string, number>): T;
    toNumeric(value: T): Record<string, number>;
}

Type Parameters

  • T
Index

Methods

  • Parameters

    Returns T

  • Parameters

    • value: T

    Returns Record<string, number>

Was this helpful?