PetalComponents.Progress (petal_components v3.2.0)

Copy Markdown View Source

Summary

Functions

progress(assigns)

Attributes

  • size (:string) - Defaults to "md". Must be one of "xs", "sm", "md", "lg", or "xl".
  • color (:string) - Defaults to "primary". Must be one of "primary", "secondary", "info", "success", "warning", "danger", or "gray".
  • 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.