LiveViewResponsive.Components.LiveViewResponsive (live_view_responsive v0.1.0)

Module containing <.live_view_responsive> component.

Summary

Functions

Link to this function

live_view_responsive(assigns)

Renders LiveViewResponsiveHook hook required for LiveViewResponsive.Core.assign_media_query/3.

Example

def render(assigns) do
  ~H"""
  <div>
    <.live_view_responsive myself={@myself} />
    ...
  </div>
  """
end

Attributes

  • myself (:any) (required) - @myself assign from the parent component.