Skip to content

Commit 79f919c

Browse files
authored
Merge pull request #92 from jdanyow/patch-1
Remove "Target" suffix from property in example
2 parents 8823380 + fc85066 commit 79f919c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_guide/targets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ import { controller, target } from "@github/catalyst"
3030

3131
@controller
3232
class HelloWorldElement extends HTMLElement {
33-
@target outputTarget: HTMLElement
33+
@target output: HTMLElement
3434

3535
greet() {
36-
this.outputTarget.textContent = `Hello, world!`
36+
this.output.textContent = `Hello, world!`
3737
}
3838
}
3939
```

0 commit comments

Comments
 (0)