guid

guid.js

Members

_guid :Number

Unique ID for an element or function

Type:
  • Number

Methods

newGUID() → {number}

Get a unique auto-incrementing ID by number that has not been returned before.

Returns:

A new unique ID.

Type: 
number

resetGuidInTestsOnly()

Reset the unique auto-incrementing ID for testing only.