This method is deprecated. Specify
includeSdk: true when initializing Smile UI, and then listen for the smile-js-initialized event from the JavaScript SDK instead.Smile object.
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.