ability to use ref[key] binding #69

Closed
crcn opened this Issue Jul 12, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

crcn commented Jul 12, 2013

like so:
{{ model[label] }}

would be translated into:

return this.ref("model").ref(this.ref("label")).value()

Or similar

Owner

crcn commented Feb 6, 2014

not really possible with the current implementation since bindings are created from the refs property generated by the parser. For instance:

{{ name }}

is Converted to:

{
  fn: function () {
    return this.get("name");
  },
  refs: ["name"]
}

crcn added the wontfix label Jan 29, 2015

crcn closed this Jan 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment