Skip to content

Commit

Permalink
Add reviewer wording change request
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed Aug 2, 2024
1 parent 9d73123 commit 26ddd1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sites/website/src/docs/advanced/working-without-decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ keywords:
- decorators
---

Most of our documented examples include the use of TypeScript decorators, however as decorators are an unimplemented feature in JavaScript, see [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/decorators.html) for details on our implementation, using them may not be right for your project.
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.

Without decorators you can make use of the static `definition` property on `FASTElement` to add your name, template, styles, and an attributes array.
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:

```javascript
import { FASTElement, html, css } from '@microsoft/fast-element';
Expand Down

0 comments on commit 26ddd1c

Please sign in to comment.