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 Properties<Props>

Properties holds objects containing default values for the layout or paint property set of a given layer type. These objects are immutable, and they are used as the prototypes for the _values members of Transitionable, Transitioning, Layout, and PossiblyEvaluated. This allows these classes to avoid doing work in the common case where a property has no explicit value set and should be considered to take on the default value: using for (const property of Object.keys(this._values)), they can iterate over only the own properties of _values, skipping repeated calculation of transitions and possible/final evaluations for defaults, the result of which will always be the same.

Type Parameters

  • Props
Index

Constructors

Properties

defaultPossiblyEvaluatedValues: {
    [K in string | number | symbol]: PossiblyEvaluatedPropertyValue<unknown>
}
defaultPropertyValues: {
    [K in string | number | symbol]: PropertyValue<unknown, any>
}
defaultTransitionablePropertyValues: {
    [K in string | number | symbol]: TransitionablePropertyValue<
        unknown,
        unknown,
    >
}
defaultTransitioningPropertyValues: {
    [K in string | number | symbol]: TransitioningPropertyValue<
        unknown,
        unknown,
    >
}
overridableProperties: string[]
properties: Props
Was this helpful?