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 that makes 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 UI has been initialized. To check for initialization after load, use the
SmileUI.ready() method instead.