View Source ExshomeWeb.Live.Modal (Exshome - Elixir Smart Home v0.1.7)
Adds modal support for every live page.
Link to this section Summary
Link to this section Types
@type js_t() :: %Phoenix.LiveView.JS{ops: list()}
Link to this section Functions
@spec close_modal(Phoenix.LiveView.Socket.t()) :: Phoenix.LiveView.Socket.t()
@spec open_modal(Phoenix.LiveView.Socket.t(), module(), map()) :: Phoenix.LiveView.Socket.t()
@spec send_js(Phoenix.LiveView.Socket.t(), js_t()) :: Phoenix.LiveView.Socket.t()