View Source PetalComponents.Progress (petal_components v0.19.3)

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 "".
  • rest (:global)

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 "".
  • rest (:global)