SmileUI object has been loaded and is available for use on the page. A corresponding smile-ui-loaded DOM event is also fired when initialization has completed.
Combining these two approaches is useful for wrapping any code (or other SDK methods) that make use of the SmileUI object.
Returns
This method returns an instance of theSmileUI object, or null if the SmileUI object has not yet finished loading.
An object as a return value does NOT mean that Smile.js has been
initialized. To check for initialization after load, use the
SmileUI.ready() method.