Skip to content

Commit

Permalink
Update README (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe authored Mar 8, 2024
1 parent 316c2e3 commit 4a00de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ You can send events to LiveView components by using `notify_to/2` or `notify_to/
difference being that the latter sends some extra params). These functions accept a target as
first argument and a message name as second. Targets can be any of:

- `nil` makes the function call be a noop. Useful if you want to only send a message if an explicit target has been passed in.
- `:self` to send to `self()`.
- A PID.
- A tuple of the form `{Module, "id"}` to send a message to a `LiveView.Component` in the same process.
Expand Down

0 comments on commit 4a00de9

Please sign in to comment.