domInfo

How to get domInfo

import domInfo from 'fontoxml-dom-utils/src/domInfo.js'

Type: Object

Deprecated

This API has been deprecated.

The domInfo utility contains helper functions to identify XML DOM node types.

Properties

Name Type Description
isCharacterData isCharacterData
isComment isComment
isDocument isDocument
isDocumentFragment isDocumentFragment
isDocumentType isDocumentType
isElement isElement
isProcessingInstruction isProcessingInstruction
isTextNode isTextNode
Was this page helpful?