Skip to content

Commit fdcefe7

Browse files
committed
prettier
1 parent 9ba1566 commit fdcefe7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Turbo/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ You can even watch changes happening in the browser by using: `PANTHER_NO_HEADLE
144144
Turbo Streams are a way for the server to send partial page updates to clients.
145145
There are two main ways to receive the updates:
146146

147-
- in response to a user action, for instance when the user submits a form;
148-
- asynchronously, by sending updates to clients using [Mercure](https://mercure.rocks),
149-
[WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) and similar protocols.
147+
- in response to a user action, for instance when the user submits a form;
148+
- asynchronously, by sending updates to clients using [Mercure](https://mercure.rocks),
149+
[WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) and similar protocols.
150150

151151
#### Forms
152152

@@ -436,17 +436,17 @@ class Book { /* ... */ }
436436

437437
The `Broadcast` attribute comes with a set of handy options:
438438

439-
- `transports` (`string[]`): a list of transports to broadcast to
440-
- `topics` (`string[]`): a list of topics to use, the default topic is derived from the FQCN of the entity and from its id
441-
- `template` (`string`): Twig template to render (see above)
439+
- `transports` (`string[]`): a list of transports to broadcast to
440+
- `topics` (`string[]`): a list of topics to use, the default topic is derived from the FQCN of the entity and from its id
441+
- `template` (`string`): Twig template to render (see above)
442442

443443
Options are transport-sepcific.
444444
When using Mercure, some extra options are supported:
445445

446-
- `private` (`bool`): marks Mercure updates as private
447-
- `sse_id` (`string`): `id` field of the SSE
448-
- `sse_type` (`string`): `type` field of the SSE
449-
- `sse_retry` (`int`): `retry` field of the SSE
446+
- `private` (`bool`): marks Mercure updates as private
447+
- `sse_id` (`string`): `id` field of the SSE
448+
- `sse_type` (`string`): `type` field of the SSE
449+
- `sse_retry` (`int`): `retry` field of the SSE
450450

451451
Example:
452452

0 commit comments

Comments
 (0)