Skip to content
Snippets Groups Projects
interactive-group-element.component.html 664 B
Newer Older
<aspect-button
    *ngIf="elementModel.type === 'button'"
    #elementComponent
    [elementModel]="elementModel | cast: ButtonElement"
    (buttonActionEvent)="applyButtonAction($event)">
</aspect-button>
<aspect-image
    *ngIf="elementModel.type === 'image'"
    #elementComponent
    [elementModel]="elementModel | cast: ImageElement"
    (elementValueChanged)="changeElementCodeValue($event)">
<aspect-math-table
  *ngIf="elementModel.type === 'math-table'"
  #elementComponent
  [elementModel]="elementModel | cast: MathTableElement"
  [tableModel]="tableModel"
  (elementValueChanged)="changeElementCodeValue($event)">
</aspect-math-table>