Skip to content

Commit dc2fc13

Browse files
author
jmsche
committed
Fix code indentation for emit events
1 parent 4e87314 commit dc2fc13

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)