We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86ba8bd commit 8b5c917Copy full SHA for 8b5c917
1 file changed
docs/_guide/actions.md
@@ -52,12 +52,12 @@ import { controller, target } from "@github/catalyst"
52
53
@controller
54
class HelloWorldElement extends HTMLElement {
55
- @target nameTarget: HTMLElement
56
- @target outputTarget: HTMLElement
+ @target name: HTMLElement
+ @target output: HTMLElement
57
58
greet() {
59
- this.outputTarget.textContent =
60
- `Hello, ${this.nameTarget.value}!`
+ this.output.textContent =
+ `Hello, ${this.name.value}!`
61
}
62
63
```
0 commit comments