plenta/contao-countup-bundle

This content element counts up numbers.

Installs: 1 864

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 2

Open Issues: 1

Type:contao-bundle

2.2.0 2023-03-10 14:11 UTC

This package is auto-updated.

Last update: 2024-12-10 17:54:04 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