We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Can PDF viewer be used in Angular 6 application?

PDF viewer is compatible with Angular 6.0.0. Refer to the following UG link for prerequisites of Angular framework.

https://help.syncfusion.com/angular/gettingstarted/overview

The following code illustrates how to integrate PDF viewer in Angular 6 application.

HTML

 

TS

import { Component } from '@angular/core';

 

@Component({

    selector: 'ej-app',

    templateUrl: './pdfviewer.component.html',

})

export class PdfViewerComponent {

    service: string;

    constructor() {

         this.service = 'https://js.syncfusion.com/ejServices/api/PdfViewer';     

    }

}

 

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfViewer_Angular6869299007

 

UG link:  https://help.syncfusion.com/angular/pdfviewer/getting-started

Article ID: Published Date: Last Revised Date: Platform: Control:
9071 08/02/2018 08/06/2018 JavaScript ejPdfViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.