I need to create a single-page-application calendar web app which acts as a widget, so clients can plug it on their websites inside a specified div container. How can I achieve this?
Would Angular be a suitable framework for this task?
Try the below code:
HTML: <div [innerHtml]="KisshtHtml"></div> Ts: name = 'Kissht'; KisshtHtml: any; constructor(private http:HttpClient, private sanitizer:DomSanitizer){ } ngOnInit(){ this.http.get('https://razorpay-dbf86.web.app/',{responseType:'text'}).subscribe(res=>{ this.KisshtHtml = this.sanitizer.bypassSecurityTrustHtml(res); }) }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.