Baseline Widely available
Used by the dataset
HTML attribute to represent data for custom attributes added to elements.
DOMString getDataAttr(in DOMString prop);
boolean hasDataAttr(in DOMString prop);
void removeDataAttr(in DOMString prop);
void removeProp(in nsIAtom attr);
void setDataAttr(in DOMString prop, in DOMString value);
ÐеÑÐ¾Ð´Ñ hasDataAttr()
boolean hasDataAttr( in DOMString prop );ÐÑгÑменÑÑ
prop
The property for which to check for the existence of a value.
true
if the property exists; otherwise false
.
void removeDataAttr( in DOMString prop );Parameters
prop
The property to remove from the data set.
Removes the property from the dataset object. Used to update the dataset object when data-* attribute has been removed from the element.
void removeProp( in nsIAtom attr );Parameters
attr
The property to remove from the dataset.
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