UNPKG

891 BMarkdownView Raw
1---
2title: CellItem
3preview: https://didi.github.io/mand-mobile/examples/#/cell-item
4---
5
6Arrange vertically and display current contents, status and other allowable operations.
7
8### Import
9
10```javascript
11import { CellItem } from 'mand-mobile'
12
13Vue.component(CellItem.name, CellItem)
14```
15
16### Code Examples
17<!-- DEMO -->
18
19### API
20
21#### CellItem Props
22|Props | Description | Type | Default | Note|
23|----|-----|------|------|------|
24|title|title|String|-|-|
25|brief|description text|String|-|-|
26|addon|help info text|String|-|-|
27|disabled|disable item operation|Boolean|`false`|-|
28|arrow|arrow indicator|Boolean|`false`|-|
29|no-border|remove border|Boolean|`false`|-|
30
31#### CellItem Events
32##### @click(event)
33click event when not disabled
34
35#### CellItem Slots
36
37##### default
38default content slot
39
40##### left
41left content slot
42
43##### right
44right content slot
45
46##### children
47extra children slot