ScrollBar is a graphical control element for moving a viewport to other areas of a page which are hidden because of its size. This ScrollBar widget is for style-customized scrollbar.
Description |
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
|
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.
|