Packages

spike_surface helps you build stateul forms / UIs with Surface UI

Current section

Files

Jump to
spike_surface lib spike surface.ex
Raw

lib/spike/surface.ex

defmodule Spike.Surface do
defmacro __using__(_opts) do
quote do
data(form, :struct)
data(errors, :map, default: %{})
@before_compile unquote(Spike.LiveView)
end
end
end