[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Restores the default value for the attribute node with the specified name.
Source position: laz2_dom.pas line 394
protected procedure TDOMNamedNodeMap.RestoreDefault( |
const name: DOMString |
); |
name |
|
Name of the item updated in the method. |
RestoreDefault is a method used to restore the default value for the attribute with the name specified in the name argument.
RestoreDefault ensures the Node type for the map is set to ATTRIBUTE_NODE. No actions performed in the method if the Node type for the map is not set to Attribute nodes. In addition, no actions are performed when the owner node does not have namespace information with the default value for the specified attribute name.
RestoreDefault calls the GetAttributeNode method in the owner Element to retrieve the attribute with the specified name. When assigned, and the attribute default value is "fixed" or "specified", it is re-applied to the attribute.
|
Gets the DOM Attribute node with the specified name. |
|
|
Value for the DOM Attribute. |
|
|
Indicates if the value for DOM Attribute was explicitly assigned. |
|
|
Indicates the origin of the value in the attribute node. |
|
|
Provides access to Namespace information for the DOM node. |
Version 4.0 | Generated 2025-05-03 | Home |