我要将自定义项目模板传递给Kendo-Angular,我使用
<kendo-multiselect [data]="data">
<ng-template kendoMultiSelectItemTemplate let-dataItem>
<custom-item [dataItem]="dataItem"></custom-item>
</ng-template>
</kendo-multiselect>
如何通过组件类传递kendoMultiSelectItemTemplate的模板?
类似的东西:
this.multiSelectComponent.<something> = CustomItem;