You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would adding a javascript block to the show view be fairly straightforward as dropping javascript macro onto show.ex. Or is there a reason why it is limited to the forms (form.ex)
@doc """
Add javascript to the form
Adds a block of javascript code to the form. Typically used to add
change or click handlers to elements on the page
"""
defmacro javascript(do: block) do
quote do
var!(script_block, ExAdmin.Form) = unquote(block)
end
end
The text was updated successfully, but these errors were encountered:
Would adding a javascript block to the
show
view be fairly straightforward as dropping javascript macro ontoshow.ex
. Or is there a reason why it is limited to the forms (form.ex
)The text was updated successfully, but these errors were encountered: