Newer
Older
import { Component } from '@angular/core';
import { CanvasElementComponent } from '../canvas-element-component.directive';
@Component({
selector: 'app-audio',
template: `
<div [ngStyle]="style">
<audio controls src="{{$any(elementModel).src}}"></audio>
</div>
'div {display: inline-block; border: 5px solid; padding: 12px 9px 9px 9px;}'