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