Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adev/src/content/reference/errors/NG05104.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This issue occurs when the selector mismatches the tag
selector: 'my-app',
...
})
class AppComponent {}
export class AppComponent {}
```

```angular-html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {UpperCasePipe} from '@angular/common';
template: `{{ loudMessage | uppercase }}`,
imports: [UpperCasePipe],
})
class App {
export class App {
loudMessage = 'we think you are doing great!'
}
</docs-code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Here's an example of how to use the `@if` syntax in a component:
}
`,
})
class App {
export class App {
isLoggedIn = true;
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In Angular you bind to events with the parentheses syntax `()`. On a given eleme
...
template: `<button (click)="greet()">`
})
class App {
export class App {
greet() {
console.log('Hello, there 👋');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ When you are ready to pass in a value through an `input`, values can be set in t
...
template: `<app-user occupation="Angular Developer"></app-user>`
})
class App {}
export class App {}
</docs-code>

The `input` function returns an `InputSignal`. You can read the value by calling the signal.
Expand Down