html:
<ion-content padding>
<div [innerHTML]="bookContent"></div>
</ion-content>
ts:
private bookContent: string = '<p> this is a <a class="point" (click)="pointClick(16)">point</a>, click to detail page.</p>';
pointClick(id){
this.navCtrl.push(PointPage, {pointId:id});
}
The click event doesn't work. In the developer tool, I found 'click' isn't exist. no click in the 'a' element.
what should i do to achieve this function.