Mercurial > hg > ugly-duckling
view src/app/app.component.ts @ 6:ee4353d1aeeb
Add skeleton files for waveform component.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Wed, 26 Oct 2016 16:57:51 +0100 |
parents | b4a1e0a67389 |
children | 7e3ab6f8792f |
line wrap: on
line source
import {Component, Inject} from '@angular/core'; import {MailService} from "./mail.service"; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'Ugly'; constructor( private mail: MailService, @Inject('piper-server-uri') private serverUri ) {} onUpdate(id, text) { this.mail.update(id, text); } }