DevactionUI.Divider (devaction_ui v0.2.3)

Copy Markdown View Source

A thin line, or a line with a short word in the middle (the "OR" between a social button and a form). The word is in mono capitals and is given by the caller. A divider with a word is a separator for assistive technology, and the word is read out.

Summary

Functions

divider(assigns)

Attributes

  • label (:string) - the word in the middle. Defaults to nil.
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.