View Source Bonfire.UI.Common.LiveHandlers (Bonfire v0.9.10-classic-beta.169)
usage examples:
phx-submit="Bonfire.Posts:post"
will be routed to Bonfire.Posts.LiveHandler.handle_event("post", ...
PubSub.broadcast(feed_id, {{Bonfire.Social.Feeds, :new_activity}, activity})
will be routed to Bonfire.Social.Feeds.LiveHandler.handle_info({:new_activity, activity}, ...
href="?Bonfire.Social.Feeds[after]=<%= e(@page_info, :end_cursor, nil) %>"
will be routed to Bonfire.Social.Feeds.LiveHandler.handle_params(%{"after" => cursor_after} ...
Summary
Functions
Link to this function
handle_event(action, attrs, socket, source_module \\ nil, fun \\ nil)
View Source
Link to this function
handle_params(params, uri, socket, source_module \\ nil, fun \\ nil)
View Source
Link to this function