angular - 将组件作为角度的道具传递
问题描述
可能吗?
就像是:
<myComponent [component]="childComponenet" />
我想ngFor
在myComponent
.
解决方案
推荐阅读
- windows - 来自守护程序的错误响应:无法使用重启策略创建“AutoRemove”容器
- heroku - 为什么 GitLab 无法识别 DPL?
- php - 在 PWA 中,可以使用 PHP $_FILES 使用 POST 方法从 manifest.json 中的 share_target 获取文件吗?
- vue.js - 从中获取价值
在函数中使用 Vue.js - c# - 发生事件时在 DataTemplate 中运行 Storyboard
- directx - DirectX 边界框绘图
- python - 如何使用训练有素的模型在 python (sklearn) 中测试新句子
- embedded - 需要解释 PSOC4 Cypress SPI 寄存器
- python - Python pandas 在一个表中组合数据(日期为周/月)
- python - python:如何在for循环中等待弹出窗口中的用户输入