Sign in Join
FPDoc Onlineexperiment

TDOMNode.IsSupported function

Member of TDOMNodepublicIn unit Laz2_DOM

Indicates if the DOM implementation supports a specific feature at a given conformance level.

Declaration

pascal
function IsSupported(const Feature: DOMString; const Version: DOMString)
: Boolean

Arguments

Feature

Name of the feature or module to check in the method.

Version

Version number or conformance level required for the feature.

Function result

True when the feature and version number are supported in the DOM implementation.

Description

IsSupported is a Boolean function which indicates whether the DOM implementation implements a specific feature and that feature is supported in this node. IsSupported implements the DOM Node method defined in the DOM Level 2 Specification.

Feature contains the name for the feature or module to check in the method.

Version contains the conformance level for the specified Feature. Both values are used as arguments to the TDOMImplementation.HasFeature method.

Returns True if the specified feature at the given conformance level is supported for the node, or False when not implemented.

See also

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