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()}
@type t() :: %ExshomeWeb.Live.Modal{
  module: module(),
  params: %{required(String.t()) => String.t()}
}

Link to this section Functions

Link to this function

handle_event(arg1, params, socket)

View Source
Link to this function

handle_info(arg1, socket)

View Source
Link to this function

on_mount(atom, params, session, socket)

View Source
Link to this function

open_modal(socket, module, params \\ %{})

View Source