View Source Bonfire.UI.Common.LiveHandlers (bonfire v0.3.5-classic-beta.6)

usage examples:

phx-submit="Bonfire.Social.Posts:post" will be routed to Bonfire.Social.Posts.LiveHandler.handle_event("post", ...

Bonfire.Common.Utils.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

assign_default_params(params, uri, socket)

View Source
Link to this function

handle_event(action, attrs, socket, source_module \\ nil)

View Source
Link to this function

handle_info(blob, socket, source_module \\ nil)

View Source
Link to this function

handle_params(params, uri, socket, source_module \\ nil)

View Source