Sign in Join
FPDoc Onlineexperiment

TDOMElement.GetAttribute function

Member of TDOMElementpublicIn unit Laz2_DOM

Gets the value for the AttribStrings property.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.