Skip to content

Commit bcb45ba

Browse files
authored
Merge pull request #275 from drwsmth/patch-1
2 parents 47f3f0f + f75d71a commit bcb45ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_guide/attrs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class HelloWorldElement extends HTMLElement {
256256
return 'World' // Used to get the intial value
257257
}
258258
// Called whenever `name` changes
259-
@attr set dataName(newValue: string) {
259+
set dataName(newValue: string) {
260260
this.textContent = `Hello ${newValue}`
261261
}
262262
}

0 commit comments

Comments
 (0)