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.
43 lines • 1.14 kB
TypeScript
import * as PropertySymbol from '../../PropertySymbol.js';
import CSSStyleDeclaration from '../declaration/CSSStyleDeclaration.js';
import CSSRuleTypeEnum from '../CSSRuleTypeEnum.js';
import CSSGroupingRule from './CSSGroupingRule.js';
import StylePropertyMap from '../style-property-map/StylePropertyMap.js';
/**
* CSSStyleRule interface.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleRule
*/
export default class CSSStyleRule extends CSSGroupingRule {
[]: StylePropertyMap | null;
[]: string;
[]: string;
/**
* @override
*/
get type(): CSSRuleTypeEnum;
/**
* @override
*/
get cssText(): string;
/**
* Returns style map.
*
* @returns Style map.
*/
get styleMap(): StylePropertyMap;
/**
* Returns selector text.
*
* @returns Selector text.
*/
get selectorText(): string;
/**
* Returns style.
*
* @returns Style.
*/
get style(): CSSStyleDeclaration;
}
//# sourceMappingURL=CSSStyleRule.d.ts.map