We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "use-host-property-decorator", as documented here, displays the following warning message when triggered via TSLint:
Use @HostBindings and @HostListeners instead of the host property (https://angular.io/styleguide#style-06-03)
The documentation is also wrong:
Use @HostProperty decorator rather than the host property of @component and @directive metadata. See more at https://angular.io/styleguide#style-06-03.
Use @HostProperty decorator rather than the host property of @component and @directive metadata.
See more at https://angular.io/styleguide#style-06-03.
The URL is wrong and leads to an error/404 page. The correct URL is https://angular.io/guide/styleguide#style-06-03
Observed on:
Code to reproduce / trigger this warning:
@Component({ selector: 'app-test', template: `<p>Hello!</p>`, styles: [`p{display:block;}`], host: { "class": "example", } }) export class TestComponent { constructor() {} }
The text was updated successfully, but these errors were encountered:
Thanks for sharing this! I'll talk to the docs team.
Sorry, something went wrong.
angular/angular#22078 will resolve it.
No branches or pull requests
The "use-host-property-decorator", as documented here, displays the following warning message when triggered via TSLint:
The documentation is also wrong:
The URL is wrong and leads to an error/404 page. The correct URL is https://angular.io/guide/styleguide#style-06-03
Observed on:
Code to reproduce / trigger this warning:
The text was updated successfully, but these errors were encountered: