form.component.ts 742 Bytes
Newer Older
liujiangnan's avatar
liujiangnan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
import {Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output} from '@angular/core';
import * as _ from 'lodash'; 

@Component({
  selector: 'app-form',
  templateUrl: './form.component.html',
  styleUrls: ['./form.component.scss']
})
export class FormComponent implements OnInit, OnChanges, OnDestroy {

  titleObj = {
    audio_url: 'http://iplayabc-courseware.oss-cn-beijing.aliyuncs.com/dev/imman/audios/d108d5d06105fda0526059a3e372f926.mp3',
    content: 'what is this? ',
    icons: [],
    type: 'a'
  }; 

  constructor() { 


  }

  ngOnInit() {
  }

  ngOnChanges() {

  }

  ngOnDestroy() {

  }

  updateTitleObjSuccess(titleObj) {
    
  }

  onTitleAudioUploadSuccess(res) {
    
  }

  save() {
    
  }

}