Jump To:

  1. utils/id.newId()
  2. utils/id.ensureId(element)

utils/id

utils/id.newId()

Create new uid

Kind: static method of utils/id

utils/id.ensureId(element)

Sets an ID if element doesn't have one vie newUid

Kind: static method of utils/id

Param Type Description
element Node Element to make sure has an id