overview
For components that need to insert html into the page, the $html method needs to be implemented. It returns html that will be inserted by the platform. Typically, you will need to use the $id service to create an id for the html. The following is a typical example
this.$html = function($id){
return '<div id="'+$id(this.config.id)+'"></div></div>'
}
Usually, it is not required to return much more html than a simple div, as the $process method, given below is called right after the html is inserted (assuming that is present on the component).