Sha256: c6127e6d01f0e175f801f7ae9d603e53ca959c1fb98cb6b147471555913a24e7
Contents?: true
Size: 1.18 KB
Versions: 13
Compression:
Stored size: 1.18 KB
Contents
import Container from './container'; import postcss from './postcss'; export default class Rule extends Container implements postcss.Rule { /** * Returns a string representing the node's type. Possible values are * root, atrule, rule, decl or comment. */ type: string; /** * Contains information to generate byte-to-byte equal node string as it * was in origin input. */ raws: postcss.RuleRaws; /** * The rule's full selector. If there are multiple comma-separated selectors, * the entire group will be included. */ selector: string; /** * Represents a CSS rule: a selector followed by a declaration block. */ constructor(defaults?: postcss.RuleNewProps); /** * @param overrides New properties to override in the clone. * @returns A clone of this node. The node and its (cloned) children will * have a clean parent and code style properties. */ clone(overrides?: Object): Rule; toJSON(): postcss.JsonRule; /** * @returns An array containing the rule's individual selectors. * Groups of selectors are split at commas. */ selectors: string[]; _selector: string; }
Version data entries
13 entries across 4 versions & 2 rubygems