[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMElement.GetAttribute

Gets the value for the AttribStrings property.

Declaration

Source position: laz2_dom.pas line 636

public function TDOMElement.GetAttribute(

  const name: DOMString

):DOMString;

Arguments

name

  

Name for the DOM Attribute requested in the method.

Function result

Value for the AttribStrings property.

Description

GetAttribute is a DOMString function used to the value for the indexed AttribStrings property. The name argument contains the name for the attribute node to locate in the Attributes property.

No actions are performed in the method if the Attributes property has not been assigned in the class instance.

See also

TDOMElement.AttribStrings

  

Provides indexed access to Attributes and their value as a String.

TDOMNode.Attributes

  

Contains Attribute for the DOM Node.


Version 3.2 Generated 2024-02-25 Home