View Source DaisyUIComponents.Tooltip (DaisyUIComponents v0.1.6)

Tooltip component

https://daisyui.com/components/tooltip

Summary

Functions

Attributes

  • text (:string) (required)
  • color (:string) - Must be one of "primary", "secondary", "accent", "info", "success", "warning", or "error".
  • direction (:string) - Must be one of "left", "top", "right", or "bottom".
  • open (:boolean) - Defaults to false.
  • Global attributes are accepted.

Slots

  • inner_block

Functions

Attributes

  • text (:string) (required)
  • color (:string) - Must be one of "primary", "secondary", "accent", "info", "success", "warning", or "error".
  • direction (:string) - Must be one of "left", "top", "right", or "bottom".
  • open (:boolean) - Defaults to false.
  • Global attributes are accepted.

Slots

  • inner_block