new customClass()
Methods
(static) register(classNameopt, imagePathopt) → {Promise.<void>}
Registers a class name as a custom AI class, using an image for the description.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
className | string |
<optional> | The class name to register. |
imagePath | string |
<optional> | The path of the image to use to describe the class. |
Returns:
- Type
- Promise.<void>
(static) unregister(classNameopt) → {Promise.<void>}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
className | string |
<optional> | The class name to unregister. |
Returns:
- Type
- Promise.<void>
(static) unregisterAll() → {Promise.<void>}
Returns:
- Type
- Promise.<void>