x
1
2
3
4
5
6
7
8
9
10
<p> <strong>Default</strong><br> <turbo-stream action="append" target="model_id"> <template> <div id="model_id"> This div will append to the element with the DOM ID "model_id". </div> </template> </turbo-stream></p>
Renders a turbo-stream tag with given action and target
1
2
3
4
<p> <strong>Default</strong><br> <%= render(OpTurbo::StreamComponent.new(template:, action:, target:)) %></p>
Param | Description | Input |
---|---|---|
— |
|
|
— |
|