Skip to content

Commit

Permalink
Fix style setProperty (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmadom authored Dec 10, 2024
1 parent 1887112 commit a9c31ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/entries/dom-api.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import {document as lightJsDocument} from '@litejs/dom';
import {CSSStyleDeclaration} from '@litejs/dom/css';

CSSStyleDeclaration.prototype.setProperty = function(key, value) {
this[key] = value;
};

export const document = lightJsDocument;

0 comments on commit a9c31ff

Please sign in to comment.