diff --git a/dev/concepts/advanced/component_context_scope/index.html b/dev/concepts/advanced/component_context_scope/index.html index 7ea05722..1315d954 100644 --- a/dev/concepts/advanced/component_context_scope/index.html +++ b/dev/concepts/advanced/component_context_scope/index.html @@ -52,4 +52,4 @@
Then if get_template_data()
of the component "my_comp"
returns following data:
Then the template will be rendered as:
Because variables "my_var"
and "cheese"
are searched only inside RootComponent.get_template_data()
. But since "cheese"
is not defined there, it's empty.
Info
Notice that the variables defined with the {% with %}
tag are ignored inside the {% fill %}
tag with the "isolated"
mode.