Maui.Popover (maui v0.1.17)

Summary

Functions

base(assigns)

Popover primitive

Attributes

  • id (:string) (required)
  • hook (:string) - Defaults to "Popover".
  • Global attributes are accepted. the arbitrary HTML attributes to add to the flash container.

Slots

  • trigger - Trigger for the popover. Accepts attributes:
    • class (:string) - Trigger class.
    • role (:string) - Trigger aria role.
  • popup - Popup for the popover. Accepts attributes:
    • class (:string) - Popup class.
    • role (:string) - Popup role.
  • inner_block - Inner block / children for the popover, can be used for non <button> custom trigger.

tooltip(assigns)

Attributes

  • id (:string)
  • class (:string) - Defaults to "".
  • placement (:string) - Defaults to "top". Must be one of "top", "bottom", "left", or "right".

Slots

  • inner_block
  • tooltip - Accepts attributes:
    • class (:string)