pseudo-dom
    Preparing search index...

    Function createStyleDeclaration

    • A live CSSStyleDeclaration-like object: its real methods (cssText, getPropertyValue, setProperty, ...) work as declared, and any other property name is treated as a camelCase CSS property (declaration.backgroundColor reads / writes the "background-color" declaration), matching what a real element.style supports.

      Parameters

      • cssText: string = ''

        Initial declarations

      Returns CSSStyleDeclarationService