mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-06-28 17:45:11 +00:00
Implement multiple webide tabs
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
<input [(ngModel)]="filename">
|
||||
<button (click)="selectCode(); requestCode()" type="submit" class="btn btn-primary">Select file</button>
|
||||
<ul class="editor-tabs">
|
||||
<li class="editor-li" *ngFor="let file of files">
|
||||
<button class="editor-button" (click)="selectCode(file); requestCode();">{{file}}</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div
|
||||
ace-editor
|
||||
|
Reference in New Issue
Block a user