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

Class Transitionable<Props>

Transitionable stores a map of all (property name, TransitionablePropertyValue) pairs for paint properties of a given layer type. It can calculate the TransitioningPropertyValues for all of them at once, producing a Transitioning instance for the same set of properties.

Type Parameters

  • Props
Index

Constructors

Methods

  • Parameters

    • name: string

    Returns boolean

  • Keeps the transitions running in transitioning on priorGlobalState where they read one of refs live.

    Parameters

    Returns void

  • Returns any

  • Applies a whole spec, skipping the values we already hold so they do not transition.

    Parameters

    • values: { [name: string]: unknown }

    Returns void

Was this helpful?