Countup

The Count-up shortcode offers a dynamic display of numbers counting up from zero when a visitor initially views the page. This shortcode is a good way to promote stats or data in an engaging way.

Default


Use @Html.LLG().Countup() method to create a countup

@Html.LLG().Countup().FromTo(0, 800)

Prefix


use .Prefix(string prefix) method to set prefix

@Html.LLG().Countup().FromTo(100, 1250).Prefix("$")

Suffix


use .Suffix(string suffix) method to set suffix

@Html.LLG().Countup().FromTo(500, 3000).Suffix("K")

Duration


use .Duration(int duration) method to set duration

@(Html.LLG().Countup()
        .FromTo(150, 2000)
        .Prefix("$")
        .Suffix("M")
        .Duration(1500))
                        

Methods

Alerts are available for any length of text, as well as an optional dismiss button

Method Description

.Method(bool value)

Comming soon.