module Ext_util_Renderable:Given a component hierarchy of this: xtype: ' ...sig..end
Given a component hierarchy of this:
{
xtype: 'panel',
id: 'ContainerA',
layout: 'hbox',
renderTo: Ext.getBody(),
items: [
{
id: 'ContainerB',
xtype: 'container',
items: [
{ id: 'ComponentA' }
]
}
]
}
The rendering of the above proceeds roughly like this:
renderTo property as the
container argument.render calls the getRenderTree method to get a complete Ext.DomHelper spec.getRenderTree fires the "beforerender" event and calls the beforeRender
method. Its result is obtained by calling getElConfig.renderTpl and its render data as the content
of the autoEl described element.getRenderTree is passed to Ext.DomHelper.append.renderTpl contains calls to render things like docked items, container items
and raw markup (such as the html or tpl config properties). These calls are to
methods added to the Ext.XTemplate instance by setupRenderTpl.renderItems, renderContent, etc.
to the template. These are directed to "doRenderItems", "doRenderContent" etc..renderTpl. This is processed when the
renderContainer method is called in the component's renderTpl. This call goes to
Ext.layout.container.Container.doRenderContainer. This method repeats this
process for all components in the container.onRender and afterRender as well as fire the corresponding events.onRender and fires the render event. These calls
are delivered top-down to approximate the timing of these calls/events from previous
versions.el is set. Likewise, the renderSelectors and
childEls are applied to capture references to the component's elements.childEls processing.afterRender.class type t =object..end
class type configs =object..end
class type events =object..end
class type statics =object..end
val of_configs : configs Js.t -> t Js.tof_configs c casts a config object c to an instance of class tval to_configs : t Js.t -> configs Js.tto_configs o casts instance o of class t to a config object