plenta/contao-countup-bundle

This content element counts up numbers.

2.1.1 2022-11-16 12:25 UTC

This package is auto-updated.

Last update: 2022-11-29 08:29:53 UTC


README

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