This widget is a container for HTML fragments, Javascript generated markup, a DOMNode reference or a widget.
Description | ||
new ContentPane(params?srcNodeRef?) |
Create a new ContentPane widget. |
Type | Description | |
_styleAttr | Object |
when you want to set style for other node. you can do this by example...
_styleAttr:{
style-property :effected-node
}
this property was effected where this class was inherited and your widget was called by...
var widget = new YourWidget({
style:{
style-property :style-value
}
});
now effected-node in you widget will have style-property = style-value
|
content | String | DOMNode | Object |
Content of the contentpane. This may contain HTML fragments, Javascript generated markup, a DOMNode reference or a widget. |
title | String |
Text for title of element. |
Return type | Description | |
__baseClassInherit(constructor) | None | get className from superclass. |
hide(elem?) | None | Hide a specified element. The hidden element will not be displayed at all. |
isVisible(elem?) | Boolean | Return true if the element is visible, otherwise false. |
show(elem?) | None | Display a specified element. |
toggle(elem?) | None | Toggle visibility of a specified element. |
style-property
:effected-node
}
this property was effected where this class was inherited and your widget was called by...
var widget = new YourWidget({
style:{
style-property
:style-value
}
});
now effected-node
in you widget will have style-property
= style-value
Default value: {}
<Object>
constructor
|
Required |
|
<Node>
elem
|
Optional |
Specified element to be hidden.
|
<Node>
elem
|
Optional |
Specified element to be checked. If not specified, domNode of the widget is used instead.
|
<Node>
elem
|
Optional |
Specified element to be displayed.
|
<Node>
elem
|
Optional |
Specified element to toggle visibility.
|