zaku:ui-obj

v0.9.1Published 6 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

ui-obj

Build Status

Easily create plain objects with computed keys as meteor ui helper.

Useful to set the context of the current scope e.g. for iron-router paths.

{{#with $obj "one" 1 "two" 2}}

sets context to

{one: 1, two: 2}

Merge the context within a each block with the outer context

{{#each items}}
  {{#with $obj .. .}}