getNodeId

Type: Function

How to get getNodeId?

JavaScript

import getNodeId from 'fontoxml-dom-identification/src/getNodeId.js'

Get the existing node ID for the given node or generate a new one if none has been set

Arguments

  1. node

    (Required)

    Type: Node

    A node from which to get a nodeId

Returns

Type: NodeId

The unique id for a node