-
Notifications
You must be signed in to change notification settings - Fork 0
VerticalList
Zhexuan Liu edited this page Jun 21, 2018
·
5 revisions
竖向选择菜单
<verticallist selected={myStore.selectedIndex} size="stretch" on-change={xxx}>
<item>{myStore.item0}</item>
<item>{myStore.item1}</item>
<item>{myStore.item2}</item>
<item>{myStore.item3}</item>
</verticallist>
const { VerticalList } from 'mesh-envoy-tag'
const list = (
<VerticalList
selected={ this.state.selected }
size="stretch"
alignment="bottom"
onChange={ linkEvent(change, this) } >
<VerticalList.Item>{items.item0}</VerticalList.Item>
<VerticalList.Item>{items.item1}</VerticalList.Item>
<VerticalList.Item>{items.item2}</VerticalList.Item>
<VerticalList.Item>{items.item3}</VerticalList.Item>
</VerticalList>
)
名称 | 作用 | 必须 | 可否更改 |
---|---|---|---|
text | 选项的文字内容 | true | true |