View Source PetalComponents.Loading (petal_components v1.0.8)
Link to this section Summary
Functions
Attributes
size(:string) - Defaults to"sm".size_class(:string) - custom CSS classes for size. eg: h-4 w-4. Defaults tonil.class(:string) - CSS class. Defaults tonil.show(:boolean) - show or hide spinner. Defaults totrue. Global attributes are accepted.
Link to this section Functions
attributes
Attributes
size(:string) - Defaults to"sm".size_class(:string) - custom CSS classes for size. eg: h-4 w-4. Defaults tonil.class(:string) - CSS class. Defaults tonil.show(:boolean) - show or hide spinner. Defaults totrue. Global attributes are accepted.