Style Observer API
    Preparing search index...
    • Register a CSS custom property if it’s not already registered.

      Parameters

      • property: string

        Property name.

      • Optionalmeta: { inherits?: boolean; initialValue?: any; syntax?: string } = {}

        Property definition.

        • Optionalinherits?: boolean

          Whether the property inherits.

        • OptionalinitialValue?: any

          Initial value.

        • Optionalsyntax?: string

          Property syntax.

      • Optionalroot: Document = globalThis.document

        Document to register the property in.

      Returns void