Skip to content

Commit d9c61fe

Browse files
authored
[docs] Fix more spots with missing double ticks
1 parent 19feb79 commit d9c61fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ There are three ways to emit an event:
22662266
Listen to Events
22672267
~~~~~~~~~~~~~~~~
22682268

2269-
To listen to an event, add a method with a `#[LiveListener]` above it::
2269+
To listen to an event, add a method with a ``#[LiveListener]`` above it::
22702270

22712271
#[LiveProp]
22722272
public int $productCount = 0;
@@ -2280,7 +2280,7 @@ To listen to an event, add a method with a `#[LiveListener]` above it::
22802280
Thanks to this, when any other component emits the ``productAdded`` event, an Ajax
22812281
call will be made to call this method and re-render the component.
22822282

2283-
Behind the scenes, event listeners are also `LiveActions <actions>`, so you can
2283+
Behind the scenes, event listeners are also ``LiveActions <actions>``, so you can
22842284
autowire any services you need.
22852285

22862286
Passing Data to Listeners
@@ -2299,7 +2299,7 @@ You can also pass extra (scalar) data to the listeners::
22992299
}
23002300

23012301
In your listeners, you can access this by adding a matching argument
2302-
name with `#[LiveArg]` in front::
2302+
name with ``#[LiveArg]`` in front::
23032303

23042304
#[LiveListener('productAdded')]
23052305
public function incrementProductCount(#[LiveArg] int $product)

0 commit comments

Comments
 (0)