Limited availability
The value
property of the CSSKeywordValue
interface returns or sets the value of the CSSKeywordValue
.
A string.
ExceptionsTypeError
Thrown if the value
property is an empty String
when being set.
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