Skip to content

Commit 368e533

Browse files
committed
minor #1554 [LiveComponent] Fix doc (norkunas)
This PR was merged into the 2.x branch. Discussion ---------- [LiveComponent] Fix doc | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | N/A | License | MIT Commits ------- 6561645 [LiveComponent] Fix doc
2 parents 60e9698 + 6561645 commit 368e533

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ the work::
10401040

10411041
The ``data-live-action-param`` attribute way of specifying the action
10421042
was added in Live Components 2.16. Previously, this was done with
1043-
``data-live-action-name``.
1043+
``data-action-name``.
10441044

10451045
To call this, trigger the ``action`` method on the ``live`` Stimulus
10461046
controller and pass ``resetMax`` as a `Stimulus action parameter`_ called
@@ -1108,7 +1108,7 @@ Actions & Arguments
11081108

11091109
The ``data-live-{NAME}-param`` attribute way of specifying action
11101110
arguments was added in Live Components 2.16. Previously, this was done
1111-
inside the ``data-live-action-name`` attribute.
1111+
inside the ``data-action-name`` attribute.
11121112

11131113
You can also pass arguments to your action by adding each as a
11141114
`Stimulus action parameter`_:

0 commit comments

Comments
 (0)