Skip to content

Commit 1a606b1

Browse files
committed
Adding an elixir-mode snippet for phoenix liveview handle params function.
1 parent c82a568 commit 1a606b1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- mode: snippet -*-
2+
# name: phx-lv-handle-params
3+
# key: phx-lv-handle-params
4+
# --
5+
@impl true
6+
def handle_params(params, _uri, socket) do
7+
$0
8+
{:noreply, socket}
9+
end

0 commit comments

Comments
 (0)