guid

guid.js

Members

(inner) _guid :Number

Unique ID for an element or function

Type:
  • Number

Methods

(static) newGUID() → {number}

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

Returns:

A new unique ID.

Type: 
number

(static) resetGuidInTestsOnly()

Reset the unique auto-incrementing ID for testing only.