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
Ability to modify data in decorator: move Context into RenderContext so it's mutable during render (e1abdf7). This change introduces a break update to HelperDef trait: Context is removed from arguments.
Ability to override helper definitions in decorator: add API to RenderContext for local helper (7aede0f)
Ability to access decorator parameters/hashes, inner template (Already implemented in partial/inline)
Ability to access rendered content: may not applicable to this implementation because we are using a writer instead of string concatenation. won't fix
The text was updated successfully, but these errors were encountered:
This make Context mutable in render process, which allows decorators
to modify context.
This is part 1 on implementing #102
Signed-off-by: Ning Sun <[email protected]>
Need to take a look at handlebars 4.0 decorators.
https://www.sitepoint.com/using-inline-partials-and-decorators-with-handlebars-4-0/#Decorators
Context
intoRenderContext
so it's mutable during render (e1abdf7). This change introduces a break update toHelperDef
trait:Context
is removed from arguments.RenderContext
for local helper (7aede0f)The text was updated successfully, but these errors were encountered: