blockly > utils > idGenerator
utils.idGenerator namespace
Functions
Function | Description |
---|---|
genUid() | Generate a random unique ID. |
getNextUniqueId() | Generate the next unique element IDs. IDs are compatible with the HTML4 'id' attribute restrictions: Use only ASCII letters, digits, '_', '-' and '.' For UUIDs use genUid (below) instead; this ID generator should primarily be used for IDs that end up in the DOM. |
Variables
Variable | Description |
---|---|
TEST_ONLY |