member_webapp/@overflow/shared/ui/component/message.component.ts

24 lines
457 B
TypeScript
Raw Normal View History

2018-05-30 05:24:19 +00:00
import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';
import { Message } from 'primeng/primeng';
@Component({
2018-05-30 10:00:46 +00:00
selector: 'of-message',
templateUrl: './message.component.html',
2018-05-30 05:24:19 +00:00
})
2018-05-30 10:00:46 +00:00
export class MessageComponent implements OnInit, OnChanges {
2018-05-30 05:24:19 +00:00
2018-06-05 02:56:45 +00:00
@Input() msgs: Message[];
2018-05-30 05:24:19 +00:00
@Input() closeAfter: number;
@Input() closable: boolean;
constructor(
) {
}
ngOnInit() {
}
ngOnChanges(changes: SimpleChanges) {
}
}