使用范围:UI2
Contents
component Accordion ($UI/system/components/bootstrap/accordion/accordion) extends ViewComponent
Constructor Top
Accordion () | |||
Accordion ( options) |
Attributes Top
string | xid |
Methods Top
void | hide (Integer index) | |
void | show (Integer index) |
Operations Top
void | hide (Integer index) | |
void | show (Integer index) |
Events Top
void | onHide (HideEvent event) | |
void | onShow ($UI/system/components/boostrap/accordion/accordion#ShowEvent event) |
Constructor details
Top
public
Accordion
()
使用场景:手风琴效果折叠面板组件;
使用方法:添加accordion组件,可以添加面板,分别设置面板的标题与内容;
##
文档链接:#http://docs.newdao.net/zhuo-mian-bu-ju-zu-jian/shou-feng-qin.html#
public
Accordion
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
Accordion
()
public
Accordion
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Attributes Detail Top
public
string
xid
Methods Detail Top
public
void
hide
(Integer index)
隐藏特定的区域
public
void
show
(Integer index)
显示特定的区域
Operations Detail Top
public
void
hide
(Integer index)
隐藏特定的区域
See $UI/system/components/boostrap/accordion/accordion#hide
public
void
show
(Integer index)
显示特定的区域
See $UI/system/components/boostrap/accordion/accordion#show
Events Detail Top
[回调型事件]当隐藏时候
public
void
onShow
($UI/system/components/boostrap/accordion/accordion#ShowEvent event)
[回调型事件]当显示时候