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

property() decorator should work with Symbol-named properties #288

Closed
justinfagnani opened this issue Nov 4, 2018 · 0 comments
Closed

Comments

@justinfagnani
Copy link
Contributor

Like so:

const protectedField = Symbol();
class MyElement extends LitElement {
  @property()
  [protectedField] = 0;
}
@sorvell sorvell self-assigned this Nov 5, 2018
@sorvell sorvell added this to the 0.7.0 milestone Nov 5, 2018
sorvell pushed a commit that referenced this issue Nov 5, 2018
@dorivaught dorivaught modified the milestones: 0.7.0, 1.0.0 Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants