Packages
A pluggable storybook for your Phoenix components.
Security advisory:
This version has known vulnerabilities.
View advisories
Current section
Files
Jump to
Current section
Files
lib/phoenix_storybook/events/event_log.ex
defmodule PhoenixStorybook.Events.EventLog do
@moduledoc false
# Data structure for event logs displayed in each story's playground
@type t :: %__MODULE__{
type: :live_view | :component,
parent_pid: pid(),
view: atom(),
event: binary(),
params: map(),
assigns: map(),
time: Time.t()
}
defstruct [:type, :parent_pid, :view, :event, :params, :assigns, :time]
end