Skip to content

Instantly share code, notes, and snippets.

@websiddu
Created July 1, 2016 22:55
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 websiddu/84fb475d95f6d4cbc0bf66963c72978e to your computer and use it in GitHub Desktop.
Save websiddu/84fb475d95f6d4cbc0bf66963c72978e to your computer and use it in GitHub Desktop.
<div class="container">
<aside class="side">
<button (click)="createDoc()">Create Doc</button>
<ul>
<li *ngFor="let file of files">
{{file.name}} – {{file.id}}
</li>
</ul>
</aside>
<main class="main">
<div *ngIf="docUrl">
<iframe width="100%" height="100%" [src]="docUrl" frameborder="0" allowfullscreen class="frame"></iframe>
</div>
</main>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment