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

Renders a tooltip component with a trigger, customizable size, title, description, and optional icon.

Summary

Functions

tooltip(assigns)

Attributes

  • id (:string) (required)
  • disabled (:boolean) - Defaults to false.
  • size (:string) - Size of the tooltip. Defaults to "small". Must be one of "small", or "large".
  • title (:string) (required) - Tooltip title.
  • description (:string) - Tooltip description. Only shown when size is set to large.

Slots

  • trigger (required) - Tooltip trigger.
  • icon - Icon to be rendered inside the tooltip. Only shown when size is set to large.
  • inner_block - Content to be rendered inside the tooltip.