View Source Bonfire.UI.Common.LiveHandlers (bonfire_umbrella v0.9.0-classic-beta.15)
usage examples:
phx-submit="Bonfire.Social.Posts:post"
will be routed to Bonfire.Social.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} ...
Link to this section Summary
Link to this section Functions
Link to this function
handle_event(action, attrs, socket, source_module \\ nil, fun \\ nil)
View Source
Link to this function