Skip to content

Commit

Permalink
Adding an elixir-mode snippet for phoenix liveview handle params func…
Browse files Browse the repository at this point in the history
…tion.
  • Loading branch information
djgoku committed Dec 16, 2024
1 parent c82a568 commit 1a606b1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions snippets/elixir-mode/phx-lv-handle-params
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: phx-lv-handle-params
# key: phx-lv-handle-params
# --
@impl true
def handle_params(params, _uri, socket) do
$0
{:noreply, socket}
end

0 comments on commit 1a606b1

Please sign in to comment.