Skip to content

Commit 34626e9

Browse files
committed
minor #1315 Fix code indentation for emit events (jmsche)
This PR was merged into the 2.x branch. Discussion ---------- Fix code indentation for emit events | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | N/A | License | MIT Currently there's both a numbering issue for the list & an indentation issue for code blocks: ![image](https://github.com/symfony/ux/assets/3929498/d57732e8-ce29-49a8-9edb-c3dba7da47c4) This PR should fix this :) Commits ------- 4190cf61 Fix code indentation for emit events
2 parents b0fa11e + dc2fc13 commit 34626e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,12 +2319,12 @@ There are three ways to emit an event:
23192319

23202320
1. From Twig:
23212321

2322-
.. code-block:: html+twig
2322+
.. code-block:: html+twig
23232323

2324-
<button
2325-
data-action="live#emit"
2326-
data-event="productAdded"
2327-
>
2324+
<button
2325+
data-action="live#emit"
2326+
data-event="productAdded"
2327+
>
23282328

23292329
2. From your PHP component via ``ComponentToolsTrait``::
23302330

0 commit comments

Comments
 (0)