app/components/lookbook/button/component.html.erb in lookbook-2.0.2 vs app/components/lookbook/button/component.html.erb in lookbook-2.0.3
- old
+ new
@@ -1,10 +1,10 @@
<%= lookbook_render button_component.new(
id: id,
icon: icon,
**button_attrs,
- "@keydown.esc.stop": "hideDropdown",
- "@navigation:complete.window": "updateDropdown") do %>
+ "x-on:keydown.esc.stop": "hideDropdown",
+ "x-on:navigation:complete.window": "updateDropdown") do %>
<%= content %>
<% end %>
<% if dropdown? %>
<% content_for :dropdowns do %>
\ No newline at end of file