It is very easy to create a PDF viewer in an Angular application, for this, you install ng2-pdf-viewer in your Angular application, and using it you can create a PDF viewer in a very simple
Category: Angular
How to Convert HTML Page to PDF in Angular 17
To convert html page to pdf file in angular; Just open your application with cmd and install html2canvas, jspdf module in it, then create a function to generate html page to PDF file & bind
Angular 17, 16 DataTables Print, Export to CSV, Excel, PDF Data Tutorial
jQuery dataTable export to excel on the button in Angular; For that, simply install jQuery dataTable and buttons module in angular 17, 16 application to print, copy, and export Excel, Pdf, or CSV file with
Read More Angular 17, 16 DataTables Print, Export to CSV, Excel, PDF Data Tutorial
Angular Set Select Option Selected
To set select option value selected in Angular, simply create the select option dropdown, and can use setValue & patchValue of FormGroup to set the default, dynamically, programmatically of select option value of dropdown in
Angular 17, 16 Get Selected Value of Dropdown Tutorial
To get the selected value of the dropdown in an angular application, you need to create onchange or onsubmit function on the component file and bind it with an HTML template to get it. When
Read More Angular 17, 16 Get Selected Value of Dropdown Tutorial
Angular 17 Material Autocomplete Example
To create autocomplete search using Material UI in Angular 17; Just you have to install Material UI in the Angular application and after that, you can create an autocomplete search in the Angular application with
Angular Cors Policy no ‘access-control-allow-origin’
Getting error blocked by cors policy no ‘access-control-allow-origin’ header in angular 18|17|16 application, means you have not set the Access-Control-Allow-Origin property or CORS is not enabled on server response. Cross-origin resource sharing (CORS) is a
Read More Angular Cors Policy no ‘access-control-allow-origin’
Angular 17 Generate QR Code
To generate QR code in angular; Simply install angularx-qrcode and use its option such as [qrdata]=”your_string” on the template to generate QR codes in angular applications. The angularx-qrcode is a lightweight module for angular applications,
jQuery DataTables in Angular 17
Angular jQuery dataTables; Simply install jQuery dataTables module by using npm install jquery datatables and then use DataTableOptions, DataTableDirective & DataTableService class to configure, bind & interact class with data and html table on components
Lazy Load Images Angular 17
To lazy load images in Angular; To delay loading your images on Angular applications, simply run npm i ng-lazyload-image to install lazy load module, and then use its function [lazyLoad]=”image1″ with an image on an