@chatterton/angular2-schema-form
Version:
Angular2 Schema Form (DISCLAIMER: it is not related to angular-schema-form)
10 lines (9 loc) • 357 B
HTML
<div *ngIf="formProperty.visible">
<sf-widget-chooser
(widgetInstanciated)="onWidgetInstanciated($event)"
[widgetInfo]="formProperty.schema.widget">
</sf-widget-chooser>
<button *ngFor="let button of buttons" [class]="button.class" (click)="button.action($event)">
<i *ngIf="button.icon" [class]="button.icon"></i> {{button.label}}
</button>
</div>