Skip to content
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

Fix #51: Pass component context to children. #52

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

vsajip
Copy link

@vsajip vsajip commented Aug 4, 2023

No description provided.

…the new behaviour:

* SLIPPERS_PARAMS_VISIBLE_IN_CHILDREN -  make parameters passed to component visible when rendering {{ children }}
* SLIPPERS_VARS_VISIBLE_IN_CHILDREN - make {% var %}-declared variables in component visible when rendering {{ children }}

The default settings are False, so existing behaviour is preserved.

Only {% var %} declarations that appear before {{ children }} are included.
@Thutmose3
Copy link

Can this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants