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

2.0 - Observer Method not called when used in iron-list #4609

Closed
jogibear9988 opened this issue May 18, 2017 · 1 comment
Closed

2.0 - Observer Method not called when used in iron-list #4609

jogibear9988 opened this issue May 18, 2017 · 1 comment

Comments

@jogibear9988
Copy link

jogibear9988 commented May 18, 2017

I've following component:

   Polymer({
        is: "mcc-image",
        properties: {
            imageName: { type: String, observer: '_loadimage' },
            language: String,

This component is used in a iron-list like this:

      <mcc-image image-name="[[item.Material.ImageName]]"

I've attached a breakpoint in the Method "_loadimage", but every time the method is hit, the value of this.imageName is undefined!

If I now select my "mcc-image" in chrome, and look via console $0.imageName, the image name is set, means my observer is not called.

This worked with the preview Version before!

@jogibear9988 jogibear9988 changed the title Observer Method not called when used in iron-list 2.0 - Observer Method not called when used in iron-list May 18, 2017
@jogibear9988
Copy link
Author

duplicate of #4601

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