-
Notifications
You must be signed in to change notification settings - Fork 55
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
Items do not update properly after 'attached' #105
Comments
How are you adding your elements? This definitely works: http://jsbin.com/pusoja/1/edit?html,output Closing, as this is working. Please re-open if you still have issues, and provide a JSBin with reproducible steps for your problem |
I just realized that it seems the issue is more that paper-menu needs to override iron-selector's default functions, since paper-menu nests content within a div.
I've modified a behavior to account for this: By doing this, I'm able to easily add paper-items to the menu/menubar from a JSON array. |
If you mean that |
Ah. Thanks for that reference. |
No worries! |
With paper-menu, I've tried adding paper-items to the menu after creation to no avail.
If the iron-selector could automatically update its item list, then it would be possible to utilize a JSON array (and a
dom-repeat
) to initialize an iron-selector element's items.The text was updated successfully, but these errors were encountered: