Clear Up
SharpKit Reference

ComponentConfig Class

Namespace: Ext

Base Types

System.Object

Constructors

Name Description
ComponentConfig()

Properties

Name Description
baseCls The base CSS class to apply to this components's element. This will also be prepended to other elements within this component. To add specific styling for sub-classes, use the `cls` config. @accessor
border The border to use on this Component. Can be specified as a number (in which case all edges get the same border width) or a CSS string like '5 10 10 10' @accessor
bottom @accessor @evented
centered Whether or not this component is absolutely centered inside its container @accessor @evented
cls the CSS class to add to this component's element, in addition to the `baseCls` @accessor
data The initial set of data to apply to the
{@link #tpl}
to update the content area of the Component. @accessor
disabled Whether or not this component is disabled @accessor @evented
disabledCls The CSS class to add to the component when it is disabled @accessor
docked The dock position of this component in its container. Can be 'left', 'top', 'right' or 'bottom'. @accessor @evented
draggable Configuration options to make this Component draggable @accessor
droppable Configuration options to make this Component droppable @accessor
flex
fullscreen @deprecated 2.0.0 Please use Ext.Viewport.add instead
height The height of this component in pixels. @accessor @evented
hidden True to hide this component @accessor
hideOnMaskTap When using a {@link #modal} Component, setting this to true (the default) will hide the modal mask and the Component when the mask is tapped on @accessor
html Optional HTML content to render inside this Component @accessor
left @accessor @evented
margin The margin to use on this Component. Can be specified as a number (in which case all edges get the same margin) or a CSS string like '5 10 10 10' @accessor
masked True to mask this component. @accessor
modal True to make this Component modal. This will create a mask underneath the Component that covers the whole page and does not allow the user to interact with any other Components until this Component is dismissed @accessor
padding The padding to use on this Component. Can be specified as a number (in which case all edges get the same padding) or a CSS string like '5 10 10 10' @accessor
renderTo Optional element to render this Component to. Usually this is not needed because a Component is normally full screen or automatically rendered inside another {@link Ext.Container Container} @accessor
renderTpl

An {@link Ext.XTemplate XTemplate} used to create the internal structure inside this Component's encapsulating Element.

You do not normally need to specify this. For the base classes {@link Ext.Component} and {@link Ext.Container}, this defaults to

null
which means that they will be initially rendered with no internal structure; they render their {@link #getEl Element} empty. The more specialized ExtJS and Touch classes which use a more complex DOM structure, provide their own template definitions.

This is intended to allow the developer to create application-specific utility Components with customized internal structure.

@accessor
right @accessor @evented
style Optional CSS styles that will be rendered into an inline style attribute when the Component is rendered @accessor
styleHtmlCls The class that is added to the content target when you set styleHtmlContent to true. @accessor
styleHtmlContent True to automatically style the html inside the content target of this component (body for panels). @accessor
top @accessor @evented
tpl An {@link Ext.Template}, {@link Ext.XTemplate} or an array of strings to form an Ext.XTemplate. Used in conjunction with the
{@link #data}
and
{@link #tplWriteMode}
configurations. @accessor
tplWriteMode The Ext.(X)Template method to use when updating the content area of the Component. Defaults to
'overwrite'
(see
{@link Ext.XTemplate#overwrite}
). @accessor
ui The ui to be used on this Component
width The width of this component in pixels. @accessor @evented
zIndex The z-index to give this Component when it is rendered @accessor
© Copyright 2005-2011 SharpKit. All rights reserved.