有什么方法可以知道 angular 中的 html 模板中有哪些 properties/variables 可用?

Is there any way to know what properties/variables are available in html template in angular?

有什么方法可以知道 angular 中的 html 模板中有哪些 properties/variables 可用? 我试过{{这个 | json }}出现错误。

我使用 json 表单 (https://jsonforms.io/) 并且我有这个模板用于我的自定义渲染器

<div class="row">
  <div class="col-md-3 xyz">
    <span class="text-info text-open">{{ description }}</span>
  </div>
  <div class="col-md-8 zyx">
    <span class="text-open-content">{{ data }}</span>
  </div>
</div>

我只是偶然输入了这些变量 descriptiondata,它给了我它们的值,但是没有文档这些属性,我只是不明白这些值从何而来。 我需要一种方法来了解哪些 vars/properties 可用于我的模板。

而且在我的ts文件中没有描述和数据这样的变量

如果您使用 VS Code,可以使用 Angular language service extension 来开发 Angular 应用程序。