Skip to content

page-indicator

Description

Display a number of page indicator symbol based on configuration.

Attributes

  • tile: page-indicator
  • options: [Object]
    • max: Provide a Number of indicator you want to show
  • icon: [Objects]
    • current: By default is fas fa-circle. Also a by default a current index is 0.
    • previous: By default is fas fa-circle
    • next: By default is fas fa-circle
  • styles: wrapper | icon
  • classes: wrapper | icon

Example

{
  "tile": "page-indicator",
  "options": {
    "max": 3
  },
  "icon": {
    "previous": "fal fa-arrow-square-down",
    "current": "fas fa-plus text-muted",
    "next": "fal fa-arrow-square-down"
  },
  "styles": {
    "icon": {
      "fontSize": "15px"
    }
  }
}