Skip to content

Commit 36a401f

Browse files
authored
docs(attrs): fix wording
1 parent 52493c9 commit 36a401f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/_guide/attrs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class HelloWorldElement extends HTMLElement {
175175

176176
### What about without Decorators?
177177

178-
If you're using decorators, then you won't be able to use the `@attr` decorator, but there is still a way to achieve the same result. Under the hood `@attr` simply tags a field, but `initializeAttrs` does all of the logic.
178+
If you're not using decorators, then you won't be able to use the `@attr` decorator, but there is still a way to achieve the same result. Under the hood `@attr` simply tags a field, but `initializeAttrs` does all of the logic.
179179

180180
Calling `initializeAttrs` in your connected callback, with the list of properties you'd like to initialize can achieve the same result. The class fields can still be defined in your class, and they'll be overridden as described above. For example:
181181

0 commit comments

Comments
 (0)