Class CountUpOption
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
CountUp 配置类
public class CountUpOption
- Inheritance
-
CountUpOption
- Inherited Members
- Extension Methods
Constructors
CountUpOption()
public CountUpOption()
Properties
Decimal
小数点符号 默认 点 .
public string Decimal { get; set; }
Property Value
DecimalPlaces
小数位数 默认 0
public int DecimalPlaces { get; set; }
Property Value
Duration
动画时长 默认 2.0 单位秒
public float Duration { get; set; }
Property Value
EnableScrollSpy
是否启用滚动监听 默认 false
public bool EnableScrollSpy { get; set; }
Property Value
Numerals
numeral glyph substitution default null
public char[]? Numerals { get; set; }
Property Value
- char[]
Prefix
前缀文本 默认 string.Empty 未设置
public string Prefix { get; set; }
Property Value
ScrollSpyDelay
滚动延时 默认 200 毫秒
public int ScrollSpyDelay { get; set; }
Property Value
ScrollSpyOnce
滚动监听一次 默认 false
public bool ScrollSpyOnce { get; set; }
Property Value
Separator
分隔符 默认 逗号 ,
public string Separator { get; set; }
Property Value
SmartEasingAmount
动画总量 默认 333
public int SmartEasingAmount { get; set; }
Property Value
SmartEasingThreshold
动画阈值 默认 999
public int SmartEasingThreshold { get; set; }
Property Value
StartValue
开始计数值 默认 0
[JsonPropertyName("startVal")]
public decimal StartValue { get; set; }
Property Value
Suffix
后缀文本 默认 string.Empty 未设置
public string Suffix { get; set; }
Property Value
UseEasing
是否使用过渡动画 默认 true
public bool UseEasing { get; set; }
Property Value
UseGrouping
是否分组 默认 true
public bool UseGrouping { get; set; }
Property Value
UseIndianSeparators
是否使用分隔符 默认 false
public bool UseIndianSeparators { get; set; }