Skip to content

Commit df14fce

Browse files
committed
minor #1098 [docs] Fix more spots with missing double ticks (bocharsky-bw)
This PR was merged into the 2.x branch. Discussion ---------- [docs] Fix more spots with missing double ticks | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Tickets | no <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Features and deprecations must be submitted against branch main. --> Commits ------- d9c61fe [docs] Fix more spots with missing double ticks
2 parents cc09617 + d9c61fe commit df14fce

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)