PropertyType

Type Alias PropertyType<T>

PropertyType: T extends "activatable"
    ? boolean
    : T extends "animation"
        ? { name: string } & AnimationOptions
        : T extends "appearancePattern"
            ? number
            | null
            : T extends "appearanceURI"
                ? string
                | number
                | undefined
                | null
                : T extends "attachment"
                    ? any
                    : T extends "auxContent"
                        ? any
                        : T extends "auxEnabled"
                            ? EnabledState
                            | boolean
                            : T extends "auxNodes"
                                ? number[]
                                : T extends "children"
                                    ? number[]
                                    : T extends "comparisonGroup"
                                        ? ComparisonGroup
                                        : (...) extends (...) ? (...) : (...)

This type is used to define the type of a property.

See Property for a formatted list of all available properties along with their types and default values.

Type Parameters

  • T



Was this page helpful? Please leave a thumbs up or down.