common-nodata

1.0.2 • Public • Published

Installation

npm install common-nodata --save

event

text 属性:显示的文字内容 String类型 例如:"例如暂无数据"

height 属性: 整体的高度 String类型 例如:"200px"

noDataImage 属性:图片地址 String类型

imageHeight 属性:图片的高度 Number类型 例如:70

imageWidth 属性:图片的宽度 Number类型 例如:100

color 属性:文字的颜色 String类型 例如:"#999999"

size 属性: 文字的大小 String类型 例如:"14px"

showImage 属性: 是否展示图片 Boolean类型 默认为true

showText 属性: 是否展示图片 Boolean类型 默认为true

注意

showImage属性传入true时,设置noDataImage图片才有效

Readme

Keywords

none

Package Sidebar

Install

npm i common-nodata

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

108 kB

Total Files

10

Last publish

Collaborators

  • sunteela