CounterTween
Ecng.Markdown
Counts a headline figure up from nothing, the way a product page does when it scrolls into view.
Konstruktoren
CounterTween
public CounterTween(string value)
counterTween = CounterTween(value)
Initializes a new instance.
- value
- The figure exactly as the author wrote it.
Eigenschaften
CanTick
public bool CanTick { get; }
value = counterTween.CanTick
Whether this figure is a number and so can be counted up at all.
Duration
public static TimeSpan Duration { get; }
value = CounterTween.Duration
How long the count takes.
Item
public string Item { get; }
value = counterTween.Item
The text to show at a point in the count.
- progress
- How far the count has got, from 0 to 1.
Rückgabe: Text for this frame.