Noora.DismissIcon (noora v0.1.0-alpha.4)

Renders a dismiss icon button for closing or removing elements, with customizable size.

Summary

Functions

dismiss_icon(assigns)

Attributes

  • size (:string) - The size of the icon. Defaults to "large". Must be one of "small", or "large".
  • on_dismiss (:string) - Defaults to nil.
  • Global attributes are accepted. Supports all globals plus: ["disabled"].