PetalComponents.Progress (petal_components v3.0.0)

View Source

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 (:any) - CSS class. Defaults to nil.
  • Global attributes are accepted.

Functions

progress(assigns)

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 (:any) - CSS class. Defaults to nil.
  • Global attributes are accepted.