Skip to content

Adding ability to add %special keys to templateContext

Choose a tag to compare

@phillipskevin phillipskevin released this 26 Oct 16:31
· 316 commits to master since this release

#109

This makes it so that index, key, element, event, viewModel, and arguments will be non-observable if they are added to the templateContext. This makes it so that this will be possible (once the index is added to the templateContext):

{{#each items}}
    {{scope.index}}
{{/each}}