expandEntityReferences property (NodeIterator, TreeWalker)
Returns a Boolean value that indicates whether the children of entity reference nodes are visible to the NodeIterator or TreeWalker object.
Note: The TreeWalker and NodeIterator objects and their expandEntityReferences properties are supported in Internet Explorer from version 9.You can set this property by the fourth parameter of the createNodeIterator or createTreeWalker method.
You can find the related objects in the Supported by objects section below.
This property is read-only.
Boolean that indicates the expansion state.
One of the following values:
|The children of entity reference nodes are hidden to the NodeIterator or TreeWalker object.|
|The children of entity reference nodes are visible to the NodeIterator or TreeWalker object.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the expandEntityReferences property:
Did you find this example helpful?
User Contributed Comments