more stimulus tests
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
<h1>Welcome</h1>
|
||||
|
||||
<%= link_to "Articles", articles_path %>
|
||||
|
||||
|
||||
<h2>Stimulus Check</h2>
|
||||
|
||||
<div data-controller="hello">
|
||||
<input data-hello-target="name" type="text">
|
||||
|
||||
<button data-action="click->hello#greet">
|
||||
Greet
|
||||
</button>
|
||||
|
||||
<span data-hello-target="output">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user