You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update documentation for working without decorators (#7129)
# Pull Request
## 📖 Description
After looking into #7128 it was discovered that actually the updated syntax for adding attributes was never updated in the documentation. This is therefore not a bug fix, but a documentation update.
### 🎫 Issues
Resolves#7128
## ✅ Checklist
### General
<!--- Review the list and put an x in the boxes that apply. -->
- [ ] I have included a change request file using `$ npm run change`
- [ ] I have added tests for my changes.
- [x] I have tested my changes.
- [x] I have updated the project documentation to reflect my changes.
- [x] I have read the [CONTRIBUTING](https://github.com/microsoft/fast/blob/main/CONTRIBUTING.md) documentation and followed the [standards](https://github.com/microsoft/fast/blob/main/CODE_OF_CONDUCT.md#our-standards) for this project.
## ⏭ Next Steps
- Run an update to push the change to the documentation site
Copy file name to clipboardExpand all lines: sites/website/src/docs/advanced/working-without-decorators.md
+34-36Lines changed: 34 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,21 @@ keywords:
8
8
9
9
Most of our documented examples include the use of TypeScript decorators. However, as decorators are an unimplemented feature in JavaScript, using them may not be right for your project. See [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/decorators.html) for details on our implementation.
10
10
11
-
The static `definition` accepts the same configuration options as the `@attr` decorator. For example, to bind a property name that is different from an attribute name:
11
+
When defining your component, you may pass in attributes in the same configuration object as the name, template, and styles:
0 commit comments