Sha256: ad7f0f039811b444d4afc996ee38bc581c1cac29ee360987d5e69a22559cc609
Contents?: true
Size: 1.38 KB
Versions: 13
Compression:
Stored size: 1.38 KB
Contents
import postcss from './postcss'; import Node from './node'; export default class Declaration extends Node implements postcss.Declaration { /** * 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.DeclarationRaws; /** * The declaration's property name. */ prop: string; /** * The declaration's value. This value will be cleaned of comments. If the * source value contained comments, those comments will be available in the * _value.raws property. If you have not changed the value, the result of * decl.toString() will include the original raws value (comments and all). */ value: string; /** * True if the declaration has an !important annotation. */ important: boolean; /** * Represents a CSS declaration. */ constructor(defaults?: postcss.DeclarationNewProps); /** * @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): any; toJSON(): postcss.JsonDeclaration; _value: string; _important: string; }
Version data entries
13 entries across 4 versions & 2 rubygems