You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for inline partials (at the bottom of the partials page) doesn't provide enough context for their usage.
I can't tell if the inline partials will be executed in the context they are defined in (like partial blocks) or in the context of the partial that calls them.
I also can't tell how to use them in a complex manner, such as using an #if block to choose between two inline partials to execute, using an #each block within an inline partial, and using an #each block
I think 1 or more examples with these features and the following "file" code would be super helpful:
the template file that defines the inline partials and calls the partial which will execute them (the top of your current example)
the partial file that executes itself and calls the inline partials (layout in your current example)
the rendered html
The text was updated successfully, but these errors were encountered:
The documentation for inline partials (at the bottom of the partials page) doesn't provide enough context for their usage.
I can't tell if the inline partials will be executed in the context they are defined in (like partial blocks) or in the context of the partial that calls them.
I also can't tell how to use them in a complex manner, such as using an
#if
block to choose between two inline partials to execute, using an#each
block within an inline partial, and using an#each
blockI think 1 or more examples with these features and the following "file" code would be super helpful:
layout
in your current example)The text was updated successfully, but these errors were encountered: