View Source TestWeb.BeitrageTable behaviour (Exzeitable v0.6.8)
Users post table in German
Summary
Functions
Convenience helper so LiveView doesn't have to be called directly
Typing into the search box... searches. Crazy, right?
Refresh periodically grabs new records from the database
Initial setup on page load
Callback implementation for Phoenix.LiveView.render/1
.
Types
@type socket() :: Phoenix.LiveView.Socket.t()
Callbacks
Functions
Convenience helper so LiveView doesn't have to be called directly
Example
<%= YourAppWeb.Live.Site.live_table(@conn, query: @query) %>
@spec do_search(Ecto.Query.t(), String.t()) :: Ecto.Query.t()
Typing into the search box... searches. Crazy, right?
Refresh periodically grabs new records from the database
@spec live_table( Plug.Conn.t(), keyword() ) :: {:safe, iolist()}
Initial setup on page load
Callback implementation for Phoenix.LiveView.render/1
.