A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/CSSKeywordValue/value below:

CSSKeywordValue: value property - Web APIs

CSSKeywordValue: value property

Limited availability

The value property of the CSSKeywordValue interface returns or sets the value of the CSSKeywordValue.

Value

A string.

Exceptions
TypeError

Thrown if the value property is an empty String when being set.

Examples

The following example resets the CSS display property to its defaults.

let indicator = document.getElementById("indicator");
indicator.attributeStyleMap.set("display", new CSSKeywordValue("initial"));
indicator.attributeStyleMap.get("display").value; // 'initial'
Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4