Add a function to manage components content.
content- String | HTMLElement : The content that will be used by a component.
options- Object : A custom options to be used with content loaded by ajax.
method- String : The type of request ("POST" or "GET") to load content by ajax. Default: "GET".
params- String : Params like query string to be sent to the server.
cache- Boolean : Force to cache the request by the browser. Default: true. false value will work only with HEAD and GET requests
waiting- String | HTMLElement : Temporary content to use while the ajax request is loading.
Allows to manage the components content.
Event emitted if the content is loaded successfully.
Event emitted if the content isn't loaded successfully.
Event emitted when the content is loading.