You can attach a context object to the EmbeddedViewRef by setting [ngTemplateOutletContext] . [ngTemplateOutletContext] should be an object, the object's keys ...
確定! 回上一頁