UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

27 lines 718 B
import CSSRule from '../CSSRule.js'; import * as PropertySymbol from '../../PropertySymbol.js'; import CSSStyleDeclaration from '../declaration/CSSStyleDeclaration.js'; import CSSRuleTypeEnum from '../CSSRuleTypeEnum.js'; /** * CSSRule interface. */ export default class CSSStyleRule extends CSSRule { #private; readonly type = CSSRuleTypeEnum.styleRule; readonly styleMap: Map<any, any>; selectorText: string; [PropertySymbol.cssText]: string; /** * Returns style. * * @returns Style. */ get style(): CSSStyleDeclaration; /** * Returns css text. * * @returns CSS text. */ get cssText(): string; } //# sourceMappingURL=CSSStyleRule.d.ts.map