Clarity.TooltipComponent (Clarity v0.5.1)

Copy Markdown View Source

A lazy-loading tooltip component that only renders tooltips for visible and nearby vertices.

This component uses LiveView streams to efficiently manage tooltips, initially rendering only tooltips for breadcrumb vertices and their neighbors, then loading additional tooltips on demand as users hover over elements.

Summary

Functions

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.