If you’re loading the
Smile UI script asynchronously, you should wrap your initialization code within a loaded event to ensure it doesn’t encounter an error due to the script not yet being present on the page.Parameters
object
required
Returns
This method does not return a value. To detect when initialization is complete, useSmileUI.ready().