Identifiable
Configs
1
Configs
1id: String
Properties
2
Properties
2Identifies an object as an instance of Identifiable class, or subclass thereof.
Identifies an object as an instance of Identifiable class, or subclass thereof.
Functions
2
Functions
2generateIdstatic
Generate a new id, using an internal counter and a prefix.
| Parameter | Type | Description |
|---|---|---|
prefix | String | Id prefix |
Returns: String -
Generated id
unregisterInstancestatic
Unregister Identifiable instance, normally done on destruction
| Parameter | Type | Description |
|---|---|---|
instance | Object | Object to unregister |
id | String | The id of the instance to unregister. |