Table of Contents

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

string

DecimalPlaces

小数位数 默认 0

public int DecimalPlaces { get; set; }

Property Value

int

Duration

动画时长 默认 2.0 单位秒

public float Duration { get; set; }

Property Value

float

EnableScrollSpy

是否启用滚动监听 默认 false

public bool EnableScrollSpy { get; set; }

Property Value

bool

Numerals

numeral glyph substitution default null

public char[]? Numerals { get; set; }

Property Value

char[]

Prefix

前缀文本 默认 string.Empty 未设置

public string Prefix { get; set; }

Property Value

string

ScrollSpyDelay

滚动延时 默认 200 毫秒

public int ScrollSpyDelay { get; set; }

Property Value

int

ScrollSpyOnce

滚动监听一次 默认 false

public bool ScrollSpyOnce { get; set; }

Property Value

bool

Separator

分隔符 默认 逗号 ,

public string Separator { get; set; }

Property Value

string

SmartEasingAmount

动画总量 默认 333

public int SmartEasingAmount { get; set; }

Property Value

int

SmartEasingThreshold

动画阈值 默认 999

public int SmartEasingThreshold { get; set; }

Property Value

int

StartValue

开始计数值 默认 0

[JsonPropertyName("startVal")]
public decimal StartValue { get; set; }

Property Value

decimal

Suffix

后缀文本 默认 string.Empty 未设置

public string Suffix { get; set; }

Property Value

string

UseEasing

是否使用过渡动画 默认 true

public bool UseEasing { get; set; }

Property Value

bool

UseGrouping

是否分组 默认 true

public bool UseGrouping { get; set; }

Property Value

bool

UseIndianSeparators

是否使用分隔符 默认 false

public bool UseIndianSeparators { get; set; }

Property Value

bool