Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Progress Bar (v1)

Progress bar component written in HTL.

Features

  • Allows displaying a visual indication of progress.
  • Markup inspired from W3, which makes it compatible with older browsers too.

Use Object

The Progress Bar component uses the com.adobe.cq.wcm.core.components.models.ProgressBar Sling model as its Use-object.

Edit Dialog Properties

The following properties are written to JCR for this Progress Bar component and are expected to be available as Resource properties:

  1. ./completed - will store the completion percentage
  2. ./id - defines the component HTML ID attribute.

BEM Description

BLOCK cmp-progressbar
    ELEMENT cmp-progressbar__label--completed
    ELEMENT cmp-progressbar__label--remaining
    ELEMENT cmp-progressbar__bar

Information