I want to call print preview from button click in angular 2. I need to support IE11 users. Chrome automatically open print preview on print but IE11 opens only print window.
In template:
<button (click)="print()">print</button>
In ts file:
print(){
print() //lib.es6.d.ts
}
How can i open print preview in IE11?