Skip to content

[Docs] Fixing 2 minor typos in the docs #1257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ To add some loading text before the real component is loaded, use the

{{ component('SomeHeavyComponent', { defer: true, loading-template: 'spinning-wheel.html.twig' }) }}

Or override the ``content`` block:
Or override the ``loadingContent`` block:

.. code-block:: twig

Expand Down
4 changes: 2 additions & 2 deletions src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1434,9 +1434,9 @@ When overriding the ``alert_message`` block, you have access to the ``message``
{% endcomponent %}


.. versionadded:: 2.12
.. versionadded:: 2.13

The ability to refer to the scope of higher components via the ``outerScope`` variable was added in 2.12.
The ability to refer to the scope of higher components via the ``outerScope`` variable was added in 2.13.

As mentioned before, variables from lower components are merged with those from upper components. When you need
access to some properties or functions from higher components, that can be done via the ``outerScope...`` variable:
Expand Down