Skip to content

tamino-martinius/meteor-ui-obj

Repository files navigation

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 .. .}}

About

Port of some underscore-js functions for meteor ui.

Resources

License

Stars

Watchers

Forks

Packages

No packages published