View Source PetalComponents.Progress (petal_components v1.0.8)
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 tonil.value(:integer) - adds a value to your progress bar. Defaults tonil.max(:integer) - sets a max value for your progress bar. Defaults to100.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 tonil.value(:integer) - adds a value to your progress bar. Defaults tonil.max(:integer) - sets a max value for your progress bar. Defaults to100.class(:string) - CSS class. Defaults to"". Global attributes are accepted.