Elemental.Loading (elemental v0.1.0)

Exposing Daisy loaders as Phoenix components.

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. Defaults to "primary".
  • size (:string) - Choose which size the loading component will be. Defaults to "md".
  • screen_reader_text (:string) - Set the hidden text intended for screen readers. Defaults to "Loading...".