我已经检查过我的组件的DOM元素,并且它们具有ng-reflect-...
个属性。例如,
<my-table ng-reflect-products="[object Object],[object Object],[object Object]" ng-reflect-display-entries-count="2"><table _ngcontent-cew-1="" class="table table-striped">
该组件定义为:
export class MyTableComponent implements OnInit {
@Input() products: Array<Product>;
这些ng-reflect-...
属性是什么?在调试过程中它们对我有帮助吗?