Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 890 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 890 Bytes

Contao Count Up Bundle

This Contao content element counts up numbers.
This plugin is based on and utilizes CountUp.js

CSS files are not included (coming soon).

Install using Composer

composer require plenta/contao-countup-bundle

Usage

Simply add the Contao element to your page.
The Contao element accepts the following arguments:

  • Start value: number to begin the counter from
  • Count up value: number to end the counter at
  • Animation duration: time in seconds
  • Prefix: text at the beginning the value
  • Suffix: text added at the end of the value
  • Number grouping: enable grouping of numbers (1,000 vs 1000)
  • Decimal places are calculated automatically

Screenshot

Contao-Element