converter/app/inputarea.component.html

15 lines
849 B
HTML

<!--<div id="wrapper-{{index}}" class="wrapper">-->
<!--<textarea id="input-{{index}}" class="input" (change)="update()" placeholder="Please enter your input ..."-->
<!--[(ngModel)]="conversion.content">{{conversion.content}}</textarea>-->
<!--<select id="type-{{index}}" class="conversion" (change)="convert($event)">-->
<!--<option id="-1">Select conversion ...</option>-->
<!--<option *ngFor="let c of conversions" id="{{c}}">Type {{ConversionType[c]}}</option>-->
<!--</select>-->
<!--</div>-->
<textarea class="input" (change)="update()" placeholder="Please enter your input ..."
[(ngModel)]="content">{{content}}</textarea>
<select class="conversion" (change)="convert($event)">
<option id="-1">Select conversion ...</option>
<option *ngFor="let c of converters" id="{{c.getId()}}">{{c.getDisplayname()}}</option>
</select>