Smile object.
If your code will make use of the functionality provided by the Smile UI object, use the
SmileUI.ready() method instead.Returns
This method returns aPromise that resolves once Smile.js and it’s dependencies have been fully initialized. If initialization has already occurred, the Promise will resolve immediately.
The Promise will resolve with:
- On success, an initialized instance of the
Smileobject. - On failure, an error object.