Methods

useId(defaultId) → {string}

Generates a unique ID if default ID is not provided.

Parameters:
NameTypeDescription
defaultIdstring

The default ID.

Since
  • 3.2.2
Returns:

The ID.

Type: 
string