LiveViewContinuity.Popover (liveview_continuity v0.10.0)

Copy Markdown View Source

An unstyled native auto popover with patch-safe browser-owned open state.

See POPOVER.md for the observable interaction contract.

Summary

Functions

popover(assigns)

Attributes

  • id (:string) (required)
  • class (:any) - Defaults to nil.
  • trigger_class (:any) - Defaults to nil.
  • popup_class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • trigger (required)
  • inner_block (required)