5 lines
2.5 KiB
JSON
5 lines
2.5 KiB
JSON
|
{
|
|||
|
"id": "errors/NG8002",
|
|||
|
"title": "NG8002: Unknown attribute or input",
|
|||
|
"contents": "<h1 id=\"ng8002-unknown-attribute-or-input\">NG8002: Unknown attribute or input<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"errors/NG8002#ng8002-unknown-attribute-or-input\"><i class=\"material-icons\">link</i></a></h1>\n<div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/aio/content/errors/NG8002.md?message=docs(...)%3A%20describe%20your%20change...\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n</div>\n\n\n<div class=\"error-video-container\">\n <iframe src=\"https://www.youtube.com/embed/wfLkB3RsSJM\" frameborder=\"0\" allow=\"accelerometer; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n</div>\n\n\n\n<div class=\"content\">\n <h2 id=\"description\">Description<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"errors/NG8002#description\"><i class=\"material-icons\">link</i></a></h2>\n <p>An attribute or property cannot be resolved during compilation.</p>\n<p>This error arises when attempting to bind to a property that does not exist. Any property binding must correspond to either:</p>\n<ul>\n<li>A native property on the HTML element, or</li>\n<li>An <code>@<a href=\"api/core/Input\" class=\"code-anchor\">Input</a>()</code> property of a component or directive applied to the element.</li>\n</ul>\n<p>The runtime error for this is <code>NG0304: '${tagName}' is not a known element: …’</code>.</p>\n\n</div>\n<br>\n<div class=\"debugging\">\n <h2 id=\"debugging-the-error\">Debugging the error<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"errors/NG8002#debugging-the-error\"><i class=\"material-icons\">link</i></a></h2>\n <p>Look at documentation for the specific <a href=\"guide/binding-syntax\">binding syntax</a> used. This is usually a typo or incorrect import. There may also be a missing direction with property selector ‘name’ or missing input.</p>\n\n</div>\n\n<!-- links to this doc:\n - errors\n-->\n<!-- links from this doc:\n - api/core/Input\n - errors/NG8002#debugging-the-error\n - errors/NG8002#description\n - errors/NG8002#ng8002-unknown-attribute-or-input\n - guide/binding-syntax\n - https://github.com/angular/angular/edit/master/aio/content/errors/NG8002.md?message=docs(...)%3A%20describe%20your%20change...\n-->"
|
|||
|
}
|