In the case of an inherit control, this class will be included the property 'className' of the superclass and its own widget. To be used to set the value of the class in domNode. example: create ValidationTextBox by inherit from TextBox and has property 'className' is TextBox => 'amos-textbox' ValidationTextBox => 'amos-validation-textbox' result: className => 'amos-validation-textbox amos-textbox'
Type | Description | |
_styleAttr | Object |
when you want to set style for other node. you can do this by example...
_styleAttr:{
|
Return type | Description | |
__baseClassInherit(constructor) | None |
get className from superclass. |
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
Default value: {}
get className from superclass.
<Object>
constructor
|
Required |