View Source Beacon.Content.EventHandler (Beacon v0.2.1)
Beacon's representation of a LiveView handle_event/3.
This is the Elixir code which will receive form submission or on-click events.
Do not create or edit page event handlers manually
Use the public functions in
Beacon.Content
instead. The functions in that module guarantee that all dependencies are created correctly and all processes are updated. Manipulating data manually will most likely result in inconsistent behavior and crashes.
Summary
Types
@type t() :: %Beacon.Content.EventHandler{ __meta__: term(), code: binary(), id: Ecto.UUID.t(), inserted_at: DateTime.t(), name: binary(), site: Beacon.Types.Site.t(), updated_at: DateTime.t() }