Skip to content

The use of the data argument #417

Description

@huysentruitw

When compiling a template, we get back a HandlebarsTemplate<object, object> delegate instance.

That delegate can be called with the context, which is the data being used in the template. But what about the TData data argument we can pass in there? What is the use? And can we access it from a helper method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions