View Source PetalComponents.Progress (petal_components v1.1.1)

Link to this section Summary

Functions

Attributes

  • size (:string) - Defaults to "md".
  • color (:string) - Defaults to "primary".
  • label (:string) - labels your progress bar [xl only]. Defaults to nil.
  • value (:integer) - adds a value to your progress bar. Defaults to nil.
  • max (:integer) - sets a max value for your progress bar. Defaults to 100.
  • class (:string) - CSS class. Defaults to "". Global attributes are accepted.

Link to this section Functions

attributes

Attributes

  • size (:string) - Defaults to "md".
  • color (:string) - Defaults to "primary".
  • label (:string) - labels your progress bar [xl only]. Defaults to nil.
  • value (:integer) - adds a value to your progress bar. Defaults to nil.
  • max (:integer) - sets a max value for your progress bar. Defaults to 100.
  • class (:string) - CSS class. Defaults to "". Global attributes are accepted.