First, you have to get the TemplateRef injected, which is the reference to the template element. You also need a ViewContainerRef .
確定! 回上一頁