SurfaceBootstrap.Tooltip (surface_bootstrap v0.2.5)

Tooltip component, is used to initialize a tooltip on a child

.

Simply use as <Tooltip>... your content here..</Tooltip>.

Initialize the tooltip as described in the link below using the data-bs props. This wrapper simply initializes the inner child using the Bootstrap Native code through a hook.

https://getbootstrap.com/docs/5.0/components/tooltips/

Slots

  • default

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.