Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update expressions doc to clarify what's observed #486

Closed
arthurevans opened this issue Apr 28, 2014 · 1 comment
Closed

Update expressions doc to clarify what's observed #486

arthurevans opened this issue Apr 28, 2014 · 1 comment

Comments

@arthurevans
Copy link

  • In most cases (verify this) when an identifier is used in an expression, we
    observe the identifier and its direct properties.

For example, in {{ catalog }} we observe catalog and catalog.item but
not catalog.item.title.

  • For object literals, we only observe the top-level identifiers.

For example, in: {{ { thing1: foo, thing2: bar } }} we observe foo and bar but not the properties of foo and bar.

  • Also we need to add array access to the list of allowable syntax in expression.

For example: thing[field]. In this case, we observe... (fill in the blank).

@arthurevans
Copy link
Author

Sorry, opened this on the wrong repo. Moved to:

Polymer/old-docs-site#392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant