init
init
Initializes the API connection with the embedded model. Must be called before using any other API methods.
Signature
init(): Promise<void>Parameters
None.
Returns
Promise<void> - Resolves when the connection is established and the model is ready.
Usage
Notes
Always
awaitthis method before calling other API methodsEach iframe requires its own API instance and
init()callThe Promise resolves when the model has finished loading
Last updated