ScalesCmsWeb.SvgComponents (scales_cms v0.1.20)

Provides custom made UI components.

Summary

Functions

Attributes

  • width (:string) - Defaults to "100".
  • height (:string) - Defaults to "100".
  • class (:any) - Defaults to nil.
  • id (:any) - Defaults to nil.
  • style (:string) - Defaults to "".
  • type (:string) - Must be one of "scales_logo", "scales_logo_small", "chevron", "drag_handle", "toggle_up", or "cms_rich_text".

Functions

svg(assigns)

Attributes

  • width (:string) - Defaults to "100".
  • height (:string) - Defaults to "100".
  • class (:any) - Defaults to nil.
  • id (:any) - Defaults to nil.
  • style (:string) - Defaults to "".
  • type (:string) - Must be one of "scales_logo", "scales_logo_small", "chevron", "drag_handle", "toggle_up", or "cms_rich_text".