Variable CSSStyleValue
CSSStyleValue: {
prototype: CSSStyleValue;
parse(property: string, cssText: string): CSSStyleValue;
parseAll(property: string, cssText: string): CSSStyleValue[];
new (): CSSStyleValue;
}
prototype: CSSStyleValue;
parse(property: string, cssText: string): CSSStyleValue;
parseAll(property: string, cssText: string): CSSStyleValue[];
new (): CSSStyleValue;
}
Type Declaration
- new (): CSSStyleValue
Returns CSSStyleValue
prototype: CSSStyleValue
parse: function
Parameters
- property: string
- cssText: string
Returns CSSStyleValue
parseAll: function
The
parseAll()static method of the CSSStyleValue interface sets all occurrences of a specific CSS property to the specified value and returns an array of CSSStyleValue objects, each containing one of the supplied values.Parameters
- property: string
- cssText: string
Returns CSSStyleValue[]
The
parse()static method of the CSSStyleValue interface sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue object.MDN Reference