Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>CSSStyleDeclaration#setProperty

Work-in-progress front-end tool which does put a smile on my face
Latest
method CSSStyleDeclaration.prototype.setProperty
Re-export
import { CSSStyleDeclaration } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Set a property.

Parameters

propertyName: string

Property name.

value: string

Value. Must not contain "!important" as that should be set using the priority parameter.

optional
priority: string