guid

guid.js

Members

inner _guid :Number

Unique ID for an element or function

Methods

static newGUID() → {number}

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

Returns:
number -

A new unique ID.

static resetGuidInTestsOnly()

Reset the unique auto-incrementing ID for testing only.