-
Notifications
You must be signed in to change notification settings - Fork 106
docs: Updates to developer walk-through documentation #907
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
Conversation
docs/content/develop/step-2e.md
Outdated
|
|
||
| ## Attributes | ||
|
|
||
| This component example supports two attributes: `pfe-following` and `pfe-photo-url`. Both attributes are prefixed with `pfe-` to protect their namespacing and prevent collisions with protected attributes in HTML. To indicate this prefixing, set `"prefixed": true` on the object for that attribute. Some attribute names will not be prefixed; in those cases, set the prefixed key to false. Attributes are listed as properties and can use a variety of types. Most will probably be of type `string` or `boolean` but `number` is also supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to keep this part about namespacing the attributes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but we'll have to update it with the latest pfe-c pfe-g namespacing
starryeyez024
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I'm exempting myself from the accuracy of the JavaScript docs, but it seems to makes sense :)
Co-authored-by: Kendall Totten <[email protected]>
kylebuch8
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lament Gracefully Thine Misgivings
Documentation updates
What has changed and why
Summarize files edited as part of this MR along with a brief description of what was changed/why.
Ready-for-merge Checklist
Check off items as they are completed. Feel free to delete items if they are not applicable to your PR.
Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.
Be sure to share your updates with the [email protected] mailing list!