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

Documentation's example is 100% wrong #36

Open
mercmobily opened this issue Jul 2, 2016 · 2 comments
Open

Documentation's example is 100% wrong #36

mercmobily opened this issue Jul 2, 2016 · 2 comments

Comments

@mercmobily
Copy link

Documentation in GitHub states:

Pure imperative form would be like:
document.createElement('iron-meta').byKey('info');

Documentation in the elements' catalog states:

Pure imperative form would be like:
document.createElement('iron-meta').byKey('info').getAttribute('value');

Which is totally wrong. The catalog's documentation is the first one I looked at, and I was going insane trying to understand why byKey() would ever return an element.

@mercmobily
Copy link
Author

I assume the problem might stem from the sentence:

" I could define more attributes or use child nodes to define additional metadata."

Which I don't even understand...

@davidmaxwaterman
Copy link

Yes, I am wondering what 'use child nodes' means here...some example of this would be nice in the docs/demos.

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

2 participants