Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created August 11, 2020 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/697702617eb0e778b6b5b3213f2e5097 to your computer and use it in GitHub Desktop.
Save bjoerntx/697702617eb0e778b6b5b3213f2e5097 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
declare const readDocument: any;
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'my-viewer-app-sp3';
onChangeLoad(event: any) {
readDocument(event);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment