Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.46 KB

ListCard.md

File metadata and controls

60 lines (46 loc) · 1.46 KB

Classes

ListCardItemBaseCard

ListCardItem 多图片文本列表项

ListCardBaseCard

ListCard 多图片文本卡片

ListCardItem ⇐ BaseCard

ListCardItem 多图片文本列表项

Kind: global class
Extends: BaseCard

ListCard ⇐ BaseCard

ListCard 多图片文本卡片

Kind: global class
Extends: BaseCard

listCard.addItem(listCardItem)

添加一个图片项

Kind: instance method of ListCard
Access: public

Param Type Description
listCardItem ListCardItem 列表项

Example

let listCardItem = new ListCardItem();
listCardItem.setTitle('标题');
listCardItem.setContent('内容');
listCardItem.setUrl('http://wwww.');
listCardItem.setImage('http://wwww.image');

let listCard = new ListCard();
listCard.addItem(listCardItem);

ListCard.Item

Kind: static property of ListCard
Access: public