Skip to content

Commit

Permalink
Add click-away event
Browse files Browse the repository at this point in the history
  • Loading branch information
bryannaegele authored and tiagoefmoraes committed Sep 14, 2024
1 parent 16a88bc commit 27a502c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/surface/components/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ defmodule Surface.Components.Utils do
[
event_to_opts(assigns.capture_click, :"phx-capture-click"),
event_to_opts(assigns.click, :"phx-click"),
event_to_opts(assigns.click_away, :"phx-click-away"),
event_to_opts(assigns.window_focus, :"phx-window-focus"),
event_to_opts(assigns.window_blur, :"phx-window-blur"),
event_to_opts(assigns.focus, :"phx-focus"),
Expand Down

0 comments on commit 27a502c

Please sign in to comment.