Elemental.Feedback.Loading (elemental v0.3.0)

Exposing Daisy loaders as Phoenix components.

Usage

<.loading />

Summary

Functions

A wrapper around all DaisyUI's loading components.

Functions

loading(assigns)

A wrapper around all DaisyUI's loading components.

Attributes

  • type (:string) - Specify the type of loader to use. Defaults to "spinner".
  • color (:string) - Choose which color the loading component will be.Must be one of "ghost", "neutral", "primary", "secondary", "accent", "info", "success", "warning", or "error".
  • size (:string) - Choose which size the loading component will be.Must be one of "xs", "sm", "md", "lg", or "xl".
  • screen_reader_text (:string) - Set the hidden text intended for screen readers. Defaults to "Loading...".