Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 993 Bytes

ImageCard.md

File metadata and controls

36 lines (26 loc) · 993 Bytes

ImageCard ⇐ BaseCard

ImageCard 全图卡片

Kind: global class
Extends: BaseCard

new ImageCard()

构造函数

imageCard.addItem(src, thumbnail) ⇒ ImageCard

添加一个图片项

Kind: instance method of ImageCard
Returns: ImageCard - 返回自己
Access: public

Param Type Description
src string 图片地址
thumbnail string 图片缩率图地址. 可选

Example

this.addItem('http://image.src', 'http://thumbnail.src');
this.addItem('http://image.src');