0.2.4 • Published 6 years ago

formattednum v0.2.4

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

FormattedNum

红涨绿跌数字颜色展示,包括金额是否显示逗号,是否进行百分比。。。

参数说明:

参数名解释及默认值
idid是提供给该组件的
showPlus正数时是否显示加号+,默认是false
isInt是否显示整数,默认false
showComma是否使用,作为分隔符,默认true
isPercent是否显示为百分比,默认true
positiveColor正数时颜色,默认#e04940
negativeColor负数时颜色,默认#34ba95
decimalNum小数位数,默认2位
needColor是否需要显示颜色进行红涨绿跌区别
formattedColor数值为0或者不需要红涨绿跌区别时,默认为#404040

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago