Angular 角度2显示每个<;img>;当点击时,按MODALY键

Angular 角度2显示每个<;img>;当点击时,按MODALY键,angular,Angular,当有人点击时,我试图以模式显示每个图像(仅在“post content”类中) <div class="entry-content" [innerHTML]="article.post_content" > 你知道最好的方法是什么吗?请发布post\u内容包含的内容。article.post\u内容包含类似于Lorem Ipsum的html代码

当有人点击时,我试图以模式显示每个图像(仅在“post content”类中)

<div class="entry-content" [innerHTML]="article.post_content" >


你知道最好的方法是什么吗?

请发布
post\u内容
包含的内容。article.post\u内容包含类似于Lorem Ipsum的html代码