View Source PetalComponents.Progress (petal_components v1.9.2)

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.

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.