pipeline-builder-demo
Version:
Pipeline Builder
27 lines (21 loc) • 461 B
text/typescript
import { Component, OnInit } from '@angular/core';
({
selector: 'pb-dialog',
templateUrl: 'dialog.component.html',
styleUrls: ['dialog.component.scss'],
host: {
'[class.show]': 'isDisplay'
}
})
export class DialogComponent implements OnInit {
isDisplay: boolean;
constructor() { }
ngOnInit() {
}
open = () => {
this.isDisplay = true;
};
close = () => {
this.isDisplay = false;
};
}